mirror of
https://github.com/KartKrewDev/RingRacers.git
synced 2025-10-30 08:01:28 +00:00
Fix spindashing on a moving surface causing you to change state to rolling instead of spindashing.
(MI said I could commit to master since it was only a single line.)
This commit is contained in:
parent
9cdeee5b84
commit
da848d5216
1 changed files with 1 additions and 1 deletions
|
|
@ -2204,7 +2204,7 @@ boolean P_PlayerHitFloor(player_t *player, boolean dorollstuff)
|
|||
|
||||
if (player->pflags & PF_SPINNING)
|
||||
{
|
||||
if (player->mo->state-states != S_PLAY_ROLL)
|
||||
if (player->mo->state-states != S_PLAY_ROLL && !(player->pflags & PF_STARTDASH))
|
||||
{
|
||||
P_SetPlayerMobjState(player->mo, S_PLAY_ROLL);
|
||||
S_StartSound(player->mo, sfx_spin);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue