Restore spindash sounds to DSSPNDSH
This commit is contained in:
parent
cfe8166998
commit
d46f022837
|
@ -4623,7 +4623,7 @@ static void P_DoSpinAbility(player_t *player, ticcmd_t *cmd)
|
||||||
player->dashspeed = player->mindash;
|
player->dashspeed = player->mindash;
|
||||||
P_SetPlayerMobjState(player->mo, S_PLAY_SPINDASH);
|
P_SetPlayerMobjState(player->mo, S_PLAY_SPINDASH);
|
||||||
if (!player->spectator)
|
if (!player->spectator)
|
||||||
S_StartSound(player->mo, sfx_s3kab); // Make the rev sound! Previously sfx_spndsh.
|
S_StartSound(player->mo, sfx_spndsh); // Make the rev sound!
|
||||||
}
|
}
|
||||||
// Revving
|
// Revving
|
||||||
else if ((cmd->buttons & BT_USE) && (player->pflags & PF_STARTDASH))
|
else if ((cmd->buttons & BT_USE) && (player->pflags & PF_STARTDASH))
|
||||||
|
@ -4641,7 +4641,7 @@ static void P_DoSpinAbility(player_t *player, ticcmd_t *cmd)
|
||||||
fixed_t soundcalculation = chargecalculation;
|
fixed_t soundcalculation = chargecalculation;
|
||||||
player->dashspeed += FRACUNIT;
|
player->dashspeed += FRACUNIT;
|
||||||
if (!player->spectator && soundcalculation != chargecalculation)
|
if (!player->spectator && soundcalculation != chargecalculation)
|
||||||
S_StartSound(player->mo, sfx_s3kab); // Make the rev sound! Previously sfx_spndsh.
|
S_StartSound(player->mo, sfx_spndsh); // Make the rev sound!
|
||||||
#undef chargecalculation
|
#undef chargecalculation
|
||||||
}
|
}
|
||||||
if (player->revitem && !(leveltime % 5)) // Now spawn the color thok circle.
|
if (player->revitem && !(leveltime % 5)) // Now spawn the color thok circle.
|
||||||
|
|
Loading…
Reference in a new issue