diff options
-rw-r--r-- | engines/hdb/draw-manager.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/engines/hdb/draw-manager.cpp b/engines/hdb/draw-manager.cpp index 1e69130617..72c8820cdf 100644 --- a/engines/hdb/draw-manager.cpp +++ b/engines/hdb/draw-manager.cpp @@ -103,7 +103,8 @@ void DrawMan::fillScreen(uint32 color) { Tile *DrawMan::getTile(int index) { if (index < 0 || index > _numTiles) { - debug(6, "getTile(%d): wrong index > %d", index, _numTiles); + if (index != 0xFFFF) + debug(6, "getTile(%d): wrong index > %d", index, _numTiles); return NULL; } if (_tLookupArray[index].skyIndex) { |