Use NEXTMAP_INVALID instead of -1
This commit is contained in:
parent
ec2d406222
commit
3014d6b46b
1 changed files with 1 additions and 1 deletions
|
|
@ -4101,7 +4101,7 @@ static void Command_RandomMap(void)
|
|||
newgametype = cv_newgametype.value;
|
||||
newencoremode = false;
|
||||
newresetplayers = true;
|
||||
oldmapnum = -1;
|
||||
oldmapnum = NEXTMAP_INVALID;
|
||||
}
|
||||
|
||||
newmapnum = G_RandMap(G_TOLFlag(newgametype), oldmapnum, 0, 0, NULL) + 1;
|
||||
|
|
|
|||
Loading…
Reference in a new issue