From 3014d6b46b2b16aaa90aaacb91b8a1a8b8c862fb Mon Sep 17 00:00:00 2001 From: NepDisk Date: Fri, 27 Mar 2026 23:44:52 -0400 Subject: [PATCH] Use NEXTMAP_INVALID instead of -1 --- src/d_netcmd.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/d_netcmd.c b/src/d_netcmd.c index fbb7842c9..1798249bf 100644 --- a/src/d_netcmd.c +++ b/src/d_netcmd.c @@ -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;