From fece7cc1bb357831bfb808a990e0a13c36263cf1 Mon Sep 17 00:00:00 2001 From: Eugene Sandulenko Date: Wed, 5 Sep 2007 20:30:27 +0000 Subject: Make debug level 11 magic. It turns on all special debug level messages. svn-id: r28858 --- common/util.cpp | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'common/util.cpp') diff --git a/common/util.cpp b/common/util.cpp index b38dfa6664..ff6f02609b 100644 --- a/common/util.cpp +++ b/common/util.cpp @@ -481,8 +481,9 @@ void CDECL debugC(int level, uint32 engine_level, const char *s, ...) { char buf[STRINGBUFLEN]; va_list va; - if (level > gDebugLevel || !(Common::gDebugLevelsEnabled & engine_level)) - return; + if (gDebugLevel != 11) + if (level > gDebugLevel || !(Common::gDebugLevelsEnabled & engine_level)) + return; va_start(va, s); vsnprintf(buf, STRINGBUFLEN, s, va); -- cgit v1.2.3