mirror of
https://github.com/KartKrewDev/RingRacers.git
synced 2025-10-30 08:01:28 +00:00
Don't increment numsneakers too much on floor boosts
This commit is contained in:
parent
d3175f2427
commit
f701c11daa
1 changed files with 2 additions and 1 deletions
|
|
@ -3941,6 +3941,8 @@ void K_DoSneaker(player_t *player, INT32 type)
|
|||
K_SpawnDashDustRelease(player);
|
||||
if (intendedboost > player->kartstuff[k_speedboost])
|
||||
player->karthud[khud_destboostcam] = FixedMul(FRACUNIT, FixedDiv((intendedboost - player->kartstuff[k_speedboost]), intendedboost));
|
||||
|
||||
player->kartstuff[k_numsneakers]++;
|
||||
}
|
||||
|
||||
if (!player->kartstuff[k_sneakertimer])
|
||||
|
|
@ -3981,7 +3983,6 @@ void K_DoSneaker(player_t *player, INT32 type)
|
|||
}
|
||||
|
||||
player->kartstuff[k_sneakertimer] = sneakertime;
|
||||
player->kartstuff[k_numsneakers]++;
|
||||
|
||||
// set angle for spun out players:
|
||||
player->kartstuff[k_boostangle] = (INT32)player->mo->angle;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue