diff options
author | Eugene Sandulenko | 2019-06-08 22:18:21 +0200 |
---|---|---|
committer | Eugene Sandulenko | 2019-09-03 17:16:46 +0200 |
commit | ba9d1c6f0a4af11ea16e246719499ed184f3cb5d (patch) | |
tree | 7dffefbaeb837a0fa97e8a9afe807aca8ff3dd8f | |
parent | 1cb7c9b14217ffbc93852f2e56fc16a30d81aa1f (diff) | |
download | scummvm-rg350-ba9d1c6f0a4af11ea16e246719499ed184f3cb5d.tar.gz scummvm-rg350-ba9d1c6f0a4af11ea16e246719499ed184f3cb5d.tar.bz2 scummvm-rg350-ba9d1c6f0a4af11ea16e246719499ed184f3cb5d.zip |
HDB: Lessen noise on the empty tiles
-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) { |