diff options
author | Eugene Sandulenko | 2019-06-08 13:28:20 +0200 |
---|---|---|
committer | Eugene Sandulenko | 2019-09-03 17:16:45 +0200 |
commit | 86c6d23b5da106fef853d668d89adffd52806a0f (patch) | |
tree | c3d2b8da54716cf2dba29ce26ba4f09dba2ffdae | |
parent | 502d55d97e0088e0fbef6c1ec1453c04e6333777 (diff) | |
download | scummvm-rg350-86c6d23b5da106fef853d668d89adffd52806a0f.tar.gz scummvm-rg350-86c6d23b5da106fef853d668d89adffd52806a0f.tar.bz2 scummvm-rg350-86c6d23b5da106fef853d668d89adffd52806a0f.zip |
HDB: Added debug output to tile lookup
-rw-r--r-- | engines/hdb/draw-manager.cpp | 2 |
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; } |