From d59208ce74c5df10fc41adf61c7c7d332f358994 Mon Sep 17 00:00:00 2001 From: Mitchell Richters Date: Thu, 5 Jan 2023 20:57:14 +1100 Subject: [PATCH] - Default initialise `g_nextskill` to `-1` so maps loaded directly from the command line load with the game's default skill. --- source/core/gamecontrol.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/core/gamecontrol.cpp b/source/core/gamecontrol.cpp index e7e152019..0ecc54851 100644 --- a/source/core/gamecontrol.cpp +++ b/source/core/gamecontrol.cpp @@ -136,7 +136,7 @@ cycle_t thinktime, actortime, gameupdatetime, drawtime; gameaction_t gameaction = ga_nothing; // gameaction state MapRecord* g_nextmap; -int g_nextskill; +int g_nextskill = -1; int g_bossexit;