From 1adae3deea3e4868dc2040d061ca849a326603b4 Mon Sep 17 00:00:00 2001 From: James R Date: Mon, 9 Dec 2019 20:04:09 -0800 Subject: [PATCH] Maybe I'm mistaken but this probably isn't needed (cherry picked from commit 6464df9876e472d1210aabce4237d02af38377e1) --- 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 1906f9642..8953e2092 100644 --- a/src/d_netcmd.c +++ b/src/d_netcmd.c @@ -2639,7 +2639,7 @@ static void Command_Map_f(void) } } - if (newmapnum == 0 || !mapheaderinfo[newmapnum-1]) + if (newmapnum == 0) { CONS_Alert(CONS_ERROR, M_GetText("Could not find any map described as '%s'.\n"), mapname); Z_Free(mapname);