diff --git a/engine/src/main.cpp b/engine/src/main.cpp index 81e41b4f77..36c84d56c0 100644 --- a/engine/src/main.cpp +++ b/engine/src/main.cpp @@ -837,7 +837,7 @@ std::string ParseCommandLine(int argc, char **lpCmdLine) { } if (cmd_args.count("debug")) { - int vs_debug_level_temp = cmd_args["debug"].as(); + char vs_debug_level_temp = cmd_args["debug"].as(); switch (vs_debug_level_temp) { case 0: g_game.vsdebug = 0;