mirror of
https://github.com/KartKrewDev/RingRacers.git
synced 2025-10-30 08:01:28 +00:00
Correct minor issue with random map name selection.
This commit is contained in:
parent
0b772c2477
commit
2b9068378f
1 changed files with 2 additions and 2 deletions
|
|
@ -773,10 +773,10 @@ const char *G_BuildMapName(INT32 map)
|
|||
if (gamestate == GS_TITLESCREEN)
|
||||
map = -1;
|
||||
else if (gamestate == GS_LEVEL)
|
||||
map = gamemap;
|
||||
map = gamemap-1;
|
||||
else
|
||||
map = prevmap;
|
||||
map = G_RandMap(G_TOLFlag(cv_newgametype.value), map, false, false, 0, false);
|
||||
map = G_RandMap(G_TOLFlag(cv_newgametype.value), map, false, false, 0, false)+1;
|
||||
}
|
||||
|
||||
if (map < 100)
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue