Fixed map name in demos recorded with * argument

https://mantis.zdoom.org/view.php?id=642
This commit is contained in:
alexey.lysiuk 2017-04-30 16:35:28 +03:00
parent aae9b33198
commit 9a7aa7a7b4

View file

@ -256,7 +256,7 @@ CCMD(recordmap)
G_DeferedInitNew(mapname); G_DeferedInitNew(mapname);
gameaction = ga_recordgame; gameaction = ga_recordgame;
newdemoname = argv[1]; newdemoname = argv[1];
newdemomap = argv[2]; newdemomap = mapname;
} }
} }
catch (CRecoverableError &error) catch (CRecoverableError &error)