From 2c2c328dfcefcfb5d5fcbce350f1e63c0af024f6 Mon Sep 17 00:00:00 2001 From: Paul Gilbert Date: Mon, 4 Dec 2017 07:23:07 -0500 Subject: XEEN: Fix ground tile rendering in automap dialog --- engines/xeen/dialogs_automap.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'engines') 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)); } } -- cgit v1.2.3