Fix CMD flags in main.cpp (#4180)

Came across these when working in my branch.
This commit is contained in:
QwertyChouskie 2019-12-24 18:44:28 -08:00 committed by Benau
parent a46f82420f
commit 594cfefeed

View File

@ -764,11 +764,11 @@ int handleCmdLinePreliminary()
UserConfigParams::m_verbosity |= UserConfigParams::LOG_MEMORY;
if(CommandLine::has("--debug=addons"))
UserConfigParams::m_verbosity |= UserConfigParams::LOG_ADDONS;
if(CommandLine::has("--debug=mgui"))
if(CommandLine::has("--debug=gui"))
UserConfigParams::m_verbosity |= UserConfigParams::LOG_GUI;
if(CommandLine::has("--debug=flyable"))
UserConfigParams::m_verbosity |= UserConfigParams::LOG_FLYABLE;
if(CommandLine::has("--debug=mist"))
if(CommandLine::has("--debug=misc"))
UserConfigParams::m_verbosity |= UserConfigParams::LOG_MISC;
if(CommandLine::has("--debug=all") )
UserConfigParams::m_verbosity |= UserConfigParams::LOG_ALL;