aboutsummaryrefslogtreecommitdiff
path: root/engines/xeen/map.cpp
diff options
context:
space:
mode:
authorPaul Gilbert2015-01-19 16:20:40 -0500
committerPaul Gilbert2015-01-19 16:20:40 -0500
commit1f312098ade02210345a5adffcc2dd531d24ee7f (patch)
treec0a22fca654de87f5c3b4b2b4cbef0cfce5829d9 /engines/xeen/map.cpp
parente559a99c2794c727d04adf4602f0aac1112af765 (diff)
downloadscummvm-rg350-1f312098ade02210345a5adffcc2dd531d24ee7f.tar.gz
scummvm-rg350-1f312098ade02210345a5adffcc2dd531d24ee7f.tar.bz2
scummvm-rg350-1f312098ade02210345a5adffcc2dd531d24ee7f.zip
XEEN: Minor minimap fixes
Diffstat (limited to 'engines/xeen/map.cpp')
-rw-r--r--engines/xeen/map.cpp16
1 files changed, 8 insertions, 8 deletions
diff --git a/engines/xeen/map.cpp b/engines/xeen/map.cpp
index 17c49bef80..2bc610721a 100644
--- a/engines/xeen/map.cpp
+++ b/engines/xeen/map.cpp
@@ -1225,7 +1225,7 @@ int Map::mazeLookup(const Common::Point &pt, int layerShift, int wallMask) {
} else {
// No map, so reached outside indoor area or outer space outdoors
_currentSteppedOn = true;
- return _isOutdoors ? SURFTYPE_SPACE : 0x8888;
+ return _isOutdoors ? SURFTYPE_SPACE : INVALID_CELL;
}
}
@@ -1263,7 +1263,7 @@ int Map::mazeLookup(const Common::Point &pt, int layerShift, int wallMask) {
} else {
_currentSteppedOn = _isOutdoors;
- return _isOutdoors ? SURFTYPE_SPACE : 0x8888;
+ return _isOutdoors ? SURFTYPE_SPACE : INVALID_CELL;
}
}
@@ -1382,8 +1382,8 @@ int Map::getCell(int idx) {
} else {
_currentSurfaceId = (mapId >= 25 && mapId <= 27) ? 7 : 0;
}
- _currentWall._data = 0x8888;
- return 0x8888;
+ _currentWall._data = INVALID_CELL;
+ return INVALID_CELL;
}
_mazeDataIndex = 0;
@@ -1416,8 +1416,8 @@ int Map::getCell(int idx) {
_currentSurfaceId = (mapId >= 25 && mapId <= 27) ? SURFTYPE_ROAD : SURFTYPE_DEFAULT;
}
- _currentWall._data = 0x8888;
- return 0x8888;
+ _currentWall._data = INVALID_CELL;
+ return INVALID_CELL;
}
_mazeDataIndex = 0;
@@ -1452,8 +1452,8 @@ int Map::getCell(int idx) {
_currentSurfaceId = (mapId >= 25 && mapId <= 27) ? SURFTYPE_ROAD : SURFTYPE_DEFAULT;
}
- _currentWall._data = 0x8888;
- return 0x8888;
+ _currentWall._data = INVALID_CELL;
+ return INVALID_CELL;
}
}