aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPaul Gilbert2017-12-04 07:23:07 -0500
committerPaul Gilbert2017-12-04 07:23:07 -0500
commit2c2c328dfcefcfb5d5fcbce350f1e63c0af024f6 (patch)
treee1b3312d846a6f3c19a21d9f7106c321d44b9e34
parent71ff55ee65994d949e279b6d29c833cad183e0c4 (diff)
downloadscummvm-rg350-2c2c328dfcefcfb5d5fcbce350f1e63c0af024f6.tar.gz
scummvm-rg350-2c2c328dfcefcfb5d5fcbce350f1e63c0af024f6.tar.bz2
scummvm-rg350-2c2c328dfcefcfb5d5fcbce350f1e63c0af024f6.zip
XEEN: Fix ground tile rendering in automap dialog
-rw-r--r--engines/xeen/dialogs_automap.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/xeen/dialogs_automap.cpp b/engines/xeen/dialogs_automap.cpp
index 9121a6273e..6fa07efb2d 100644
--- a/engines/xeen/dialogs_automap.cpp
+++ b/engines/xeen/dialogs_automap.cpp
@@ -158,7 +158,7 @@ void AutoMapDialog::execute() {
v = map.mazeLookup(Common::Point(xDiff, yDiff), 0, 0xffff);
if (v != INVALID_CELL && map._currentSurfaceId && map._currentSteppedOn)
- map._tileSprites.draw(0, map.mazeData()._surfaceTypes[
+ map._tileSprites.draw(0, 36 + map.mazeData()._surfaceTypes[
map._currentSurfaceId], Common::Point(xp, yp));
}
}