aboutsummaryrefslogtreecommitdiff
path: root/engines
diff options
context:
space:
mode:
authorEugene Sandulenko2019-06-08 13:28:20 +0200
committerEugene Sandulenko2019-09-03 17:16:45 +0200
commit86c6d23b5da106fef853d668d89adffd52806a0f (patch)
treec3d2b8da54716cf2dba29ce26ba4f09dba2ffdae /engines
parent502d55d97e0088e0fbef6c1ec1453c04e6333777 (diff)
downloadscummvm-rg350-86c6d23b5da106fef853d668d89adffd52806a0f.tar.gz
scummvm-rg350-86c6d23b5da106fef853d668d89adffd52806a0f.tar.bz2
scummvm-rg350-86c6d23b5da106fef853d668d89adffd52806a0f.zip
HDB: Added debug output to tile lookup
Diffstat (limited to 'engines')
-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;
}