mirror of
https://github.com/ZDoom/qzdoom.git
synced 2024-11-11 07:11:54 +00:00
- changemap must use the current UI level if the user wants to go to "*".
This commit is contained in:
parent
aee8851643
commit
64e9f7e43b
1 changed files with 1 additions and 1 deletions
|
@ -366,7 +366,7 @@ CCMD (changemap)
|
||||||
if (argv.argc() > 1)
|
if (argv.argc() > 1)
|
||||||
{
|
{
|
||||||
const char *mapname = argv[1];
|
const char *mapname = argv[1];
|
||||||
if (!strcmp(mapname, "*")) mapname = level.MapName.GetChars();
|
if (!strcmp(mapname, "*")) mapname = currentUILevel->MapName.GetChars();
|
||||||
|
|
||||||
try
|
try
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in a new issue