X-Git-Url: https://git.jsancho.org/?a=blobdiff_plain;f=Source%2FDevtools%2FConsoleCmds.cpp;h=57e9f4a8b78150eaefd7fa4b2469bdff77db183f;hb=d177a567280631cd91a677debafada8cef7e0413;hp=baa1463893dae10c5dbab20b068de2002900c766;hpb=ce7c8b6c4db753fef7cf634a09aa63d8a4545c9b;p=lugaru.git diff --git a/Source/Devtools/ConsoleCmds.cpp b/Source/Devtools/ConsoleCmds.cpp index baa1463..57e9f4a 100644 --- a/Source/Devtools/ConsoleCmds.cpp +++ b/Source/Devtools/ConsoleCmds.cpp @@ -24,6 +24,7 @@ along with Lugaru. If not, see . #include "Level/Dialog.hpp" #include "Level/Hotspot.hpp" #include "Utils/Folders.hpp" +#include "Tutorial.hpp" const char *cmd_names[cmd_count] = { #define DECLARE_COMMAND(cmd) #cmd, @@ -49,7 +50,6 @@ extern int environment; extern float fadestart; extern float slomospeed; extern float slomofreq; -extern int tutoriallevel; extern int hostile; extern int maptype; extern int slomo; @@ -504,7 +504,7 @@ void ch_sizemin(const char *args) void ch_tutorial(const char *args) { - tutoriallevel = atoi(args); + Tutorial::active = atoi(args); } void ch_hostile(const char *args)