Added PlayerRespawning event

Allows denying player respawns for better control on special game modes e.g. Last Man Standing.
This commit is contained in:
Boondorl 2025-02-14 01:13:39 -05:00 committed by Rachael Alexanderson
commit a7d4d409a0
7 changed files with 50 additions and 5 deletions

View file

@ -838,7 +838,7 @@ void FLevelLocals::ChangeLevel(const char *levelname, int position, int inflags,
player->mo->special1 = 0;
}
// ]]
DoReborn(i, false);
DoReborn(i, true);
}
}
}