aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--engines/hdb/draw-manager.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/engines/hdb/draw-manager.cpp b/engines/hdb/draw-manager.cpp
index 64c4c62575..bc08e0f528 100644
--- a/engines/hdb/draw-manager.cpp
+++ b/engines/hdb/draw-manager.cpp
@@ -85,9 +85,11 @@ bool DrawMan::init() {
Tile *DrawMan::getTile(int index) {
if (index < 0 || index > _numTiles) {
+ debug(6, "getTile(%d): wrong index > %d", index, _numTiles);
return NULL;
}
if (_tLookupArray[index].skyIndex) {
+ debug(6, "getTile(%d): sky tile (%d)", index, _tLookupArray[index].skyIndex);
// We don't draw Sky Tiles, so return NULL
return NULL;
}