mirror of
https://git.do.srb2.org/KartKrew/Kart-Public.git
synced 2025-01-29 20:50:38 +00:00
Correct minor issue with random map name selection.
This commit is contained in:
parent
be1e43fc0b
commit
1d894f36c3
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…
Reference in a new issue