From 42b26e0f56752646f7396fbfdea2cf9bba3063ab Mon Sep 17 00:00:00 2001 From: Max Horn Date: Fri, 30 Jan 2009 01:15:17 +0000 Subject: cleanup svn-id: r36133 --- engines/sky/compact.cpp | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) (limited to 'engines/sky') 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]; } -- cgit v1.2.3