diff options
Diffstat (limited to 'gui')
-rw-r--r-- | gui/debugger.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/gui/debugger.cpp b/gui/debugger.cpp index 39e07a28f3..7ad468b477 100644 --- a/gui/debugger.cpp +++ b/gui/debugger.cpp @@ -406,7 +406,7 @@ bool Debugger::Cmd_Help(int argc, const char **argv) { } bool Debugger::Cmd_DebugFlagsList(int argc, const char **argv) { - const Common::SpecialDebugLevelList &debugLevels = Common::listSpecialDebugLevels(); + const Common::DebugChannelList &debugLevels = Common::listDebugChannels(); DebugPrintf("Engine debug levels:\n"); DebugPrintf("--------------------\n"); @@ -414,7 +414,7 @@ bool Debugger::Cmd_DebugFlagsList(int argc, const char **argv) { DebugPrintf("No engine debug levels\n"); return true; } - for (Common::SpecialDebugLevelList::const_iterator i = debugLevels.begin(); i != debugLevels.end(); ++i) { + for (Common::DebugChannelList::const_iterator i = debugLevels.begin(); i != debugLevels.end(); ++i) { DebugPrintf("%c%s - %s (%s)\n", i->enabled ? '+' : ' ', i->name.c_str(), i->description.c_str(), i->enabled ? "enabled" : "disabled"); @@ -427,7 +427,7 @@ bool Debugger::Cmd_DebugFlagEnable(int argc, const char **argv) { if (argc < 2) { DebugPrintf("debugflag_enable <flag>\n"); } else { - if (Common::enableSpecialDebugLevel(argv[1])) { + if (Common::enableDebugChannel(argv[1])) { DebugPrintf("Enabled debug flag '%s'\n", argv[1]); } else { DebugPrintf("Failed to enable debug flag '%s'\n", argv[1]); @@ -440,7 +440,7 @@ bool Debugger::Cmd_DebugFlagDisable(int argc, const char **argv) { if (argc < 2) { DebugPrintf("debugflag_disable <flag>\n"); } else { - if (Common::disableSpecialDebugLevel(argv[1])) { + if (Common::disableDebugChannel(argv[1])) { DebugPrintf("Disabled debug flag '%s'\n", argv[1]); } else { DebugPrintf("Failed to disable debug flag '%s'\n", argv[1]); |