mirror of
https://github.com/KartKrewDev/RingRacers.git
synced 2025-10-30 08:01:28 +00:00
Prevent bananadrag from wrapping around
This commit is contained in:
parent
6d04f2b83f
commit
b4e364bdf7
1 changed files with 1 additions and 1 deletions
|
|
@ -7712,7 +7712,7 @@ static void K_MoveHeldObjects(player_t *player)
|
|||
mobj_t *curnext;
|
||||
mobj_t *targ = player->mo;
|
||||
|
||||
if (P_IsObjectOnGround(player->mo) && player->speed > 0)
|
||||
if (P_IsObjectOnGround(player->mo) && player->speed > 0 && player->bananadrag < 255)
|
||||
player->bananadrag++;
|
||||
|
||||
while (cur && !P_MobjWasRemoved(cur))
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue