mirror of
https://git.do.srb2.org/STJr/SRB2.git
synced 2024-11-16 09:42:57 +00:00
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:
parent
65f2d4b80f
commit
18920e486d
1 changed files with 1 additions and 0 deletions
|
@ -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;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue