From 64e9f7e43b83a17130d80ab0e2b9b5ea6f4ccd17 Mon Sep 17 00:00:00 2001 From: Christoph Oelckers Date: Mon, 28 Jan 2019 02:08:49 +0100 Subject: [PATCH] - changemap must use the current UI level if the user wants to go to "*". --- src/c_cmds.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/c_cmds.cpp b/src/c_cmds.cpp index b9ec1228f..57171eb5f 100644 --- a/src/c_cmds.cpp +++ b/src/c_cmds.cpp @@ -366,7 +366,7 @@ CCMD (changemap) if (argv.argc() > 1) { const char *mapname = argv[1]; - if (!strcmp(mapname, "*")) mapname = level.MapName.GetChars(); + if (!strcmp(mapname, "*")) mapname = currentUILevel->MapName.GetChars(); try {