Count PF_VOID as FAULTing during POSITION for the purpose of Challenges

This commit is contained in:
toaster 2023-12-26 16:56:55 +00:00
parent 43880b4a4b
commit 920201621f

View file

@ -1926,6 +1926,13 @@ static void K_HandleLapIncrement(player_t *player)
ClearFakePlayerSkin(player);
S_StartSound(player->mo, sfx_s3k8a);
P_MoveOrigin(player->mo, player->mo->old_x, player->mo->old_y, player->mo->z);
if (player->roundconditions.faulted == false)
{
player->roundconditions.faulted = true;
player->roundconditions.checkthisframe = true;
}
return;
}