mirror of
https://github.com/KartKrewDev/RingRacers.git
synced 2025-10-30 08:01:28 +00:00
Not a pointer
This commit is contained in:
parent
857afbbb49
commit
07fac259e0
1 changed files with 1 additions and 1 deletions
|
|
@ -848,7 +848,7 @@ static INT32 K_KartGetItemOdds(UINT8 pos, SINT8 item, fixed_t mashed, boolean sp
|
|||
|
||||
if (first != -1 && second != -1) // calculate 2nd's distance from 1st, for SPB
|
||||
{
|
||||
secondist = players[second]->distancetofinish - players[first].distancetofinish;
|
||||
secondist = players[second].distancetofinish - players[first].distancetofinish;
|
||||
if (franticitems)
|
||||
secondist = (15 * secondist) / 14;
|
||||
secondist = ((28 + (8-pingame)) * secondist) / 28;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue