mirror of
https://github.com/KartKrewDev/RingRacers.git
synced 2026-04-26 12:01:47 +00:00
Invinc: GUNSTAR SOUND BABY
This commit is contained in:
parent
c3496feb5a
commit
6bedafc028
1 changed files with 3 additions and 0 deletions
|
|
@ -3205,6 +3205,9 @@ boolean P_DamageMobj(mobj_t *target, mobj_t *inflictor, mobj_t *source, INT32 da
|
||||||
source->player->invincibilitytimer += kinvextend;
|
source->player->invincibilitytimer += kinvextend;
|
||||||
// This has a scaling boost type now, don't let it get too crazy
|
// This has a scaling boost type now, don't let it get too crazy
|
||||||
source->player->invincibilitytimer = max(source->player->invincibilitytimer, 20*TICRATE);
|
source->player->invincibilitytimer = max(source->player->invincibilitytimer, 20*TICRATE);
|
||||||
|
|
||||||
|
if (P_IsDisplayPlayer(source->player))
|
||||||
|
S_StartSound(NULL, sfx_gsha7);
|
||||||
}
|
}
|
||||||
|
|
||||||
K_TryHurtSoundExchange(target, source);
|
K_TryHurtSoundExchange(target, source);
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue