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:
Oni 2023-09-23 03:27:51 +00:00
commit d3224dad31

View file

@ -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