Fix checkpoints in Tutorial Mode

This commit is contained in:
toaster 2025-08-28 13:26:13 +01:00
parent 756b5600a0
commit 2f623e060c

View file

@ -584,7 +584,11 @@ void Obj_CheckpointThink(mobj_t* end)
void Obj_CrossCheckpoints(player_t* player, fixed_t old_x, fixed_t old_y)
{
if (player->exiting || player->laps == 0) // can't cross checkpoints when exiting, or before the first lap starts
if (player->exiting
|| (
(gametyperules & GTR_CIRCUIT)
&& (player->laps == 0)
))
{
return;
}