only play charged sound when grounded
This commit is contained in:
parent
010b3d83c6
commit
1324e59203
1 changed files with 1 additions and 1 deletions
|
|
@ -9987,7 +9987,7 @@ static void K_RecoveryDash(player_t *player)
|
|||
|
||||
if (player->recoverydashcharge >= RECOVERYDASHCHARGETIME)
|
||||
{
|
||||
if (player->recoverydashcharge == RECOVERYDASHCHARGETIME)
|
||||
if (player->recoverydashcharge == RECOVERYDASHCHARGETIME && P_IsObjectOnGround(player->mo))
|
||||
S_StartSound(player->mo, sfx_s3ka2);
|
||||
|
||||
if (leveltime & 1)
|
||||
|
|
|
|||
Loading…
Reference in a new issue