mirror of
https://github.com/KartKrewDev/RingRacers.git
synced 2026-01-11 01:02:16 +00:00
Merge branch 'no-suicide-popoff' into 'master'
Don't kill-confirm suicide (resolves #691) Closes #691 See merge request KartKrew/Kart!1519
This commit is contained in:
commit
d3224dad31
1 changed files with 1 additions and 1 deletions
|
|
@ -1432,7 +1432,7 @@ void P_KillMobj(mobj_t *target, mobj_t *inflictor, mobj_t *source, UINT8 damaget
|
|||
ACS_RunPlayerDeathScript(target->player);
|
||||
}
|
||||
|
||||
if (source && target && target->player && source->player)
|
||||
if (source && target && target->player && source->player && (target->player != source->player))
|
||||
P_PlayVictorySound(source); // Killer laughs at you. LAUGHS! BWAHAHAHA!
|
||||
|
||||
// Other death animation effects
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue