LAB: Fix loop in flooVisited
This commit is contained in:
parent
c6e5232fa3
commit
08a035f0e5
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue