From 96d784912f2c2405b4fcdc77d5daf06a0a73e2fb Mon Sep 17 00:00:00 2001 From: qndel Date: Wed, 1 Sep 2021 09:35:35 +0200 Subject: [PATCH] fix currlevel in map command --- Source/debug.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Source/debug.cpp b/Source/debug.cpp index 0baf520e0..f1619e225 100644 --- a/Source/debug.cpp +++ b/Source/debug.cpp @@ -193,6 +193,8 @@ std::string DebugCmdLoadMap(const string_view parameter) setlevel = false; setlvltype = quest._qlvltype; + currlevel = quest._qlevel; + myPlayer.plrlevel = quest._qlevel; StartNewLvl(MyPlayerId, WM_DIABSETLVL, level); return fmt::format("Welcome to {}.", QuestLevelNames[level]); }