mirror of
https://github.com/KartKrewDev/RingRacers.git
synced 2025-10-30 08:01:28 +00:00
Fix potential ADDBOOST macro footgun
This commit is contained in:
parent
cae8cd5100
commit
08ddc324c3
1 changed files with 1 additions and 1 deletions
|
|
@ -3051,7 +3051,7 @@ static void K_GetKartBoostPower(player_t *player)
|
|||
speedboost += FixedDiv(s, FRACUNIT + (metabolism * (numboosts-1))); \
|
||||
accelboost += FixedDiv(a, FRACUNIT + (metabolism * (numboosts-1))); \
|
||||
if (player->aizdriftstrat) \
|
||||
handleboost += FixedDiv(3*h/2, FRACUNIT + (metabolism * (numboosts-1))/4); \
|
||||
handleboost += FixedDiv((3*h)/2, FRACUNIT + (metabolism * (numboosts-1))/4); \
|
||||
else \
|
||||
handleboost = max(h, handleboost); \
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue