diff options
author | Eugene Sandulenko | 2007-09-05 20:30:27 +0000 |
---|---|---|
committer | Eugene Sandulenko | 2007-09-05 20:30:27 +0000 |
commit | fece7cc1bb357831bfb808a990e0a13c36263cf1 (patch) | |
tree | 5945d8769e942bd2d25563e2ba2528aed829a9e5 /common | |
parent | 94a96881ae3cf824b728fc1a7e3ae1ec1218d4c2 (diff) | |
download | scummvm-rg350-fece7cc1bb357831bfb808a990e0a13c36263cf1.tar.gz scummvm-rg350-fece7cc1bb357831bfb808a990e0a13c36263cf1.tar.bz2 scummvm-rg350-fece7cc1bb357831bfb808a990e0a13c36263cf1.zip |
Make debug level 11 magic. It turns on all special debug level messages.
svn-id: r28858
Diffstat (limited to 'common')
-rw-r--r-- | common/util.cpp | 5 |
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); |