diff options
Diffstat (limited to 'engines/xeen')
-rw-r--r-- | engines/xeen/map.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/xeen/map.cpp b/engines/xeen/map.cpp index 6a442be247..688e46a568 100644 --- a/engines/xeen/map.cpp +++ b/engines/xeen/map.cpp @@ -1636,7 +1636,7 @@ void Map::getNewMaze() { // Get the correct map to use from the cached list _mazeDataIndex = 0; - while (_mazeData[_mazeDataIndex]._mazeId == mapId) + while (_mazeData[_mazeDataIndex]._mazeId != mapId) ++_mazeDataIndex; // Adjust Y and X to be in the 0-15 range, and on the correct surrounding |