mirror of
https://github.com/KartKrewDev/RingRacers.git
synced 2025-10-30 08:01:28 +00:00
Don't kill-confirm suicide
This commit is contained in:
parent
83cbdb4601
commit
629e9d39ba
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