From 99799bca62096dd3cacee594ea9e95f2a765399b Mon Sep 17 00:00:00 2001 From: Paul Gilbert Date: Wed, 4 Apr 2018 22:16:16 -0400 Subject: XEEN: Don't show space or sky tiles as obscured in the minimap --- engines/xeen/map.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'engines') diff --git a/engines/xeen/map.cpp b/engines/xeen/map.cpp index 5420f74941..a89918a9bb 100644 --- a/engines/xeen/map.cpp +++ b/engines/xeen/map.cpp @@ -1054,7 +1054,8 @@ int Map::mazeLookup(const Common::Point &pt, int layerShift, int wallMask) { _currentSurfaceId = _mazeData[_mazeDataIndex]._cells[pos.y][pos.x]._surfaceId; } - if (_currentSurfaceId == SURFTYPE_SPACE || _currentSurfaceId == SURFTYPE_SKY) { + if (mazeData()._surfaceTypes[_currentSurfaceId] == SURFTYPE_SPACE || + mazeData()._surfaceTypes[_currentSurfaceId] == SURFTYPE_SKY) { _currentSteppedOn = true; } else { _currentSteppedOn = _mazeData[_mazeDataIndex]._steppedOnTiles[pos.y][pos.x]; -- cgit v1.2.3