Fix driftsound going off in the air
This commit is contained in:
parent
9aa61253ff
commit
d68214a470
1 changed files with 1 additions and 1 deletions
|
|
@ -2195,7 +2195,7 @@ void P_MovePlayer(player_t *player)
|
|||
else if (!S_SoundPlaying(player->mo, sfx_drift) && onground && player->drift != 0)
|
||||
S_StartSound(player->mo, sfx_drift);
|
||||
// Ok, we'll stop now.
|
||||
else if (player->drift == 0)
|
||||
else if (player->drift == 0 || !onground)
|
||||
S_StopSoundByID(player->mo, sfx_drift);
|
||||
|
||||
K_MoveKartPlayer(player, onground);
|
||||
|
|
|
|||
Loading…
Reference in a new issue