mirror of
https://github.com/KartKrewDev/RingRacers.git
synced 2026-02-22 05:21:11 +00:00
G_RandMap should consider & all valid flags for gametype, not ==.
This commit is contained in:
parent
94bcf79710
commit
3357f56c9e
1 changed files with 1 additions and 1 deletions
|
|
@ -3410,7 +3410,7 @@ tryagain:
|
|||
if (!mapheaderinfo[ix] || mapheaderinfo[ix]->lumpnum == LUMPERROR)
|
||||
continue;
|
||||
|
||||
if ((mapheaderinfo[ix]->typeoflevel & tolflags) != tolflags
|
||||
if (!(mapheaderinfo[ix]->typeoflevel & tolflags)
|
||||
|| ix == pprevmap
|
||||
|| M_MapLocked(ix+1)
|
||||
|| (usehellmaps != (mapheaderinfo[ix]->menuflags & LF2_HIDEINMENU))) // this is bad
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue