mirror of
https://github.com/KartKrewDev/RingRacers.git
synced 2025-10-30 08:01:28 +00:00
Merge branch 'trick-fail-lose-drug-items' into 'master'
Drop items being dragged behind you, like orbinaut shields, when failing a trick See merge request KartKrew/Kart!696
This commit is contained in:
commit
70cfe6a228
1 changed files with 2 additions and 0 deletions
|
|
@ -10726,6 +10726,8 @@ void K_MoveKartPlayer(player_t *player, boolean onground)
|
|||
player->trickpanel = 0;
|
||||
K_trickPanelTimingVisual(player, momz); // fail trick visual
|
||||
P_SetPlayerMobjState(player->mo, S_KART_SPINOUT);
|
||||
if (player->pflags & (PF_ITEMOUT|PF_EGGMANOUT))
|
||||
K_DropHnextList(player, true);
|
||||
}
|
||||
|
||||
else if (!(player->pflags & PF_TRICKDELAY)) // don't allow tricking at the same frame you tumble obv
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue