mirror of
https://github.com/KartKrewDev/RingRacers.git
synced 2025-10-30 08:01:28 +00:00
In Tutorial gametype, permit all courses even if not visited
Allows you to come back to Brakes without having to play Rings again
This commit is contained in:
parent
a9ac7e64c6
commit
d78dccb80f
1 changed files with 9 additions and 5 deletions
|
|
@ -103,11 +103,15 @@ boolean M_CanShowLevelInList(INT16 mapnum, levelsearch_t *levelsearch)
|
|||
// Finally, the most complex check: does the map have lock conditions?
|
||||
if (levelsearch->checklocked)
|
||||
{
|
||||
// Check for visitation
|
||||
if (!(mapheaderinfo[mapnum]->menuflags & LF2_NOVISITNEEDED)
|
||||
&& !(mapheaderinfo[mapnum]->records.mapvisited & MV_VISITED)
|
||||
&& !(cup && cup->cachedlevels[0] == mapnum))
|
||||
return false;
|
||||
// All tutorial courses can be visited for the first time once the game has truly started.
|
||||
if (levelsearch->tutorial == false || M_GameTrulyStarted() == false)
|
||||
{
|
||||
// Check for visitation
|
||||
if (!(mapheaderinfo[mapnum]->menuflags & LF2_NOVISITNEEDED)
|
||||
&& !(mapheaderinfo[mapnum]->records.mapvisited & MV_VISITED)
|
||||
&& !(cup && cup->cachedlevels[0] == mapnum))
|
||||
return false;
|
||||
}
|
||||
|
||||
// Check for completion
|
||||
if ((mapheaderinfo[mapnum]->menuflags & LF2_FINISHNEEDED)
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue