Add sfx to Attract shield dash.

Because it seemed really weird for a
sudden shift of momentum to be unaccompanied.
This commit is contained in:
Yukita Mayako 2015-05-27 06:07:38 -04:00
parent 65f2d4b80f
commit 18920e486d

View file

@ -6799,6 +6799,7 @@ static void P_MovePlayer(player_t *player)
{ {
player->pflags |= PF_THOKKED|PF_SHIELDABILITY; player->pflags |= PF_THOKKED|PF_SHIELDABILITY;
player->homing = 2; player->homing = 2;
S_StartSound(player->mo, sfx_spdpad);
if (P_LookForEnemies(player, false) && player->mo->tracer) if (P_LookForEnemies(player, false) && player->mo->tracer)
player->homing = 3*TICRATE; player->homing = 3*TICRATE;
} }