aboutsummaryrefslogtreecommitdiff
path: root/engines/sky
diff options
context:
space:
mode:
authorMax Horn2009-01-30 01:15:17 +0000
committerMax Horn2009-01-30 01:15:17 +0000
commit42b26e0f56752646f7396fbfdea2cf9bba3063ab (patch)
treeb125bc59f6e10e7bda1f92a1f52f9137a96db7fb /engines/sky
parent28cf213605ff916ddac62d6c07e02beb915a9a8f (diff)
downloadscummvm-rg350-42b26e0f56752646f7396fbfdea2cf9bba3063ab.tar.gz
scummvm-rg350-42b26e0f56752646f7396fbfdea2cf9bba3063ab.tar.bz2
scummvm-rg350-42b26e0f56752646f7396fbfdea2cf9bba3063ab.zip
cleanup
svn-id: r36133
Diffstat (limited to 'engines/sky')
-rw-r--r--engines/sky/compact.cpp6
1 files changed, 1 insertions, 5 deletions
diff --git a/engines/sky/compact.cpp b/engines/sky/compact.cpp
index eccca6795b..35701e43a1 100644
--- a/engines/sky/compact.cpp
+++ b/engines/sky/compact.cpp
@@ -30,8 +30,6 @@
#include "sky/compact.h"
#include "gui/message.h"
-extern int gDebugLevel;
-
namespace Sky {
#define SKY_CPT_SIZE 419427
@@ -269,9 +267,7 @@ Compact *SkyCompact::fetchCpt(uint16 cptId) {
return NULL;
assert(((cptId >> 12) < _numDataLists) && ((cptId & 0xFFF) < _dataListLen[cptId >> 12]));
- if (gDebugLevel >= 8) {
- debug(8, "Loading Compact %s [%s] (%04X=%d,%d)", _cptNames[cptId >> 12][cptId & 0xFFF], nameForType(_cptTypes[cptId >> 12][cptId & 0xFFF]), cptId, cptId >> 12, cptId & 0xFFF);
- }
+ debug(8, "Loading Compact %s [%s] (%04X=%d,%d)", _cptNames[cptId >> 12][cptId & 0xFFF], nameForType(_cptTypes[cptId >> 12][cptId & 0xFFF]), cptId, cptId >> 12, cptId & 0xFFF);
return _compacts[cptId >> 12][cptId & 0xFFF];
}