mirror of
https://github.com/KartKrewDev/RingRacers.git
synced 2025-10-30 08:01:28 +00:00
More sanity checks for skipping restricted queue entries
- GTR_FORBIDMP in netgames - mapheader doesn't exist
This commit is contained in:
parent
f1ca263c40
commit
d4de130fe0
1 changed files with 2 additions and 0 deletions
|
|
@ -4125,6 +4125,8 @@ static void G_GetNextMap(void)
|
|||
|
||||
while (roundqueue.position < roundqueue.size
|
||||
&& (roundqueue.entries[roundqueue.position].mapnum >= nummapheaders
|
||||
|| mapheaderinfo[roundqueue.entries[roundqueue.position].mapnum] == NULL
|
||||
|| (netgame && (gametypes[roundqueue.entries[roundqueue.position].gametype]->rules & GTR_FORBIDMP))
|
||||
|| (permitrank == false && roundqueue.entries[roundqueue.position].rankrestricted == true)))
|
||||
{
|
||||
// Skip all restricted queue entries.
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue