From 9a7aa7a7b49bfced3468303073f7a204d0862a61 Mon Sep 17 00:00:00 2001 From: "alexey.lysiuk" Date: Sun, 30 Apr 2017 16:35:28 +0300 Subject: [PATCH] Fixed map name in demos recorded with * argument https://mantis.zdoom.org/view.php?id=642 --- src/g_level.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/g_level.cpp b/src/g_level.cpp index 3367a348b..d9d28b72f 100644 --- a/src/g_level.cpp +++ b/src/g_level.cpp @@ -256,7 +256,7 @@ CCMD(recordmap) G_DeferedInitNew(mapname); gameaction = ga_recordgame; newdemoname = argv[1]; - newdemomap = argv[2]; + newdemomap = mapname; } } catch (CRecoverableError &error)