aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--common/util.cpp5
1 files changed, 3 insertions, 2 deletions
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);