mirror of
https://github.com/KartKrewDev/RingRacers.git
synced 2025-10-30 08:01:28 +00:00
Don't permit duplicate maps across multiple cups in time attack. A map is only valid for its later groupings in Grand Prix and multiplayer.
This commit is contained in:
parent
8809c68d55
commit
ecfcc1356b
1 changed files with 2 additions and 2 deletions
|
|
@ -3370,8 +3370,8 @@ boolean M_CanShowLevelInList(INT16 mapnum, UINT32 tol, cupheader_t *cup)
|
|||
if (levellist.timeattack && (mapheaderinfo[mapnum]->menuflags & LF2_NOTIMEATTACK))
|
||||
return false;
|
||||
|
||||
// Don't permit cup when no cup requested
|
||||
if (levellist.cupmode && !cup && mapheaderinfo[mapnum]->cup)
|
||||
// Don't permit cup when no cup requested (also no dupes in time attack)
|
||||
if (levellist.cupmode && (levellist.timeattack || !cup) && mapheaderinfo[mapnum]->cup != cup)
|
||||
return false;
|
||||
|
||||
// Survived our checks.
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue