P_KillPlayer: In special stages, falling off the stage means immediate no contest and life loss.

This commit is contained in:
toaster 2023-02-13 18:00:02 +00:00
parent 437944927e
commit 61de5367d7

View file

@ -1901,6 +1901,12 @@ static boolean P_KillPlayer(player_t *player, mobj_t *inflictor, mobj_t *source,
{ {
(void)source; (void)source;
if (!player->exiting && specialstageinfo.valid == true)
{
player->pflags |= PF_NOCONTEST;
P_DoPlayerExit(player);
}
if (player->exiting) if (player->exiting)
{ {
player->mo->destscale = 1; player->mo->destscale = 1;