Correct minor issue with random map name selection.
This commit is contained in:
1 parent
be1e43fc0b
commit
1d894f36c3
1 file changed
+2
-2
+2
-2
@@ -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)
|
||||
|
||||
Reference in new issue
Block a user