[Scummvm-git-logs] scummvm master -> 99799bca62096dd3cacee594ea9e95f2a765399b

dreammaster dreammaster at scummvm.org
Thu Apr 5 04:16:15 CEST 2018


This automated email contains information about 1 new commit which have been
pushed to the 'scummvm' repo located at https://github.com/scummvm/scummvm .

Summary:
99799bca62 XEEN: Don't show space or sky tiles as obscured in the minimap


Commit: 99799bca62096dd3cacee594ea9e95f2a765399b
    https://github.com/scummvm/scummvm/commit/99799bca62096dd3cacee594ea9e95f2a765399b
Author: Paul Gilbert (dreammaster at scummvm.org)
Date: 2018-04-04T22:16:16-04:00

Commit Message:
XEEN: Don't show space or sky tiles as obscured in the minimap

Changed paths:
    engines/xeen/map.cpp


diff --git a/engines/xeen/map.cpp b/engines/xeen/map.cpp
index 5420f74..a89918a 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];





More information about the Scummvm-git-logs mailing list