mirror of
https://github.com/KartKrewDev/RingRacers.git
synced 2026-04-27 04:21:47 +00:00
Fix checkpoints in Tutorial Mode
This commit is contained in:
parent
756b5600a0
commit
2f623e060c
1 changed files with 5 additions and 1 deletions
|
|
@ -584,7 +584,11 @@ void Obj_CheckpointThink(mobj_t* end)
|
||||||
|
|
||||||
void Obj_CrossCheckpoints(player_t* player, fixed_t old_x, fixed_t old_y)
|
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;
|
return;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue