diff options
author | Strangerke | 2015-12-20 14:59:13 +0100 |
---|---|---|
committer | Willem Jan Palenstijn | 2015-12-23 21:35:31 +0100 |
commit | 08a035f0e5d9fcab4c7f28817f8e344918b0250c (patch) | |
tree | 62b61c9b992cc7f40e909e32fbdc8bf1bb4036eb | |
parent | c6e5232fa30ae48416c07c13e8abf183e6f0ef7e (diff) | |
download | scummvm-rg350-08a035f0e5d9fcab4c7f28817f8e344918b0250c.tar.gz scummvm-rg350-08a035f0e5d9fcab4c7f28817f8e344918b0250c.tar.bz2 scummvm-rg350-08a035f0e5d9fcab4c7f28817f8e344918b0250c.zip |
LAB: Fix loop in flooVisited
-rw-r--r-- | engines/lab/map.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/lab/map.cpp b/engines/lab/map.cpp index 05c36fc010..84da3596e8 100644 --- a/engines/lab/map.cpp +++ b/engines/lab/map.cpp @@ -299,7 +299,7 @@ void LabEngine::drawRoomMap(uint16 curRoom, bool drawMarkFl) { } bool LabEngine::floorVisited(uint16 floorNum) { - for (uint16 i = 1; i <= _maxRooms; i++) { + for (uint16 i = 0; i < _maxRooms; i++) { if ((_maps[i]._pageNumber == floorNum) && _roomsFound->in(i) && _maps[i]._x) return true; } |