Self-review: Fix inverted before-exiting check for FellOff

This commit is contained in:
toaster 2023-10-20 16:22:45 +01:00
parent 22bef38562
commit 7604235c00

View file

@ -2430,7 +2430,7 @@ static boolean P_KillPlayer(player_t *player, mobj_t *inflictor, mobj_t *source,
case DMG_DEATHPIT:
// Fell off the stage
if (player->roundconditions.fell_off == false
&& beforeexit == false)
&& beforeexit == true)
{
player->roundconditions.fell_off = true;
player->roundconditions.checkthisframe = true;