Self-review: K_DoFault - add challenge check deferral

This commit is contained in:
toaster 2023-10-20 14:59:49 +01:00
parent 986fbd06b9
commit 340ac0de0f

View file

@ -112,7 +112,11 @@ void K_DoFault(player_t *player)
player->mo->renderflags |= RF_DONTDRAW;
player->mo->flags |= MF_NOCLIPTHING;
player->roundconditions.faulted = true;
if (player->roundconditions.faulted == false)
{
player->roundconditions.faulted = true;
player->roundconditions.checkthisframe = true;
}
}
}