diff options
author | Willem Jan Palenstijn | 2015-12-26 17:07:01 +0100 |
---|---|---|
committer | Willem Jan Palenstijn | 2015-12-26 17:07:28 +0100 |
commit | e4fbcabbc96d10077c3bfd7af548d1d7ab6ca09e (patch) | |
tree | 1c4ea0b841f80618858638c02b3124971455e773 /engines/lab | |
parent | 286cd8164359ac142514ce7eb23df1ff16d73527 (diff) | |
download | scummvm-rg350-e4fbcabbc96d10077c3bfd7af548d1d7ab6ca09e.tar.gz scummvm-rg350-e4fbcabbc96d10077c3bfd7af548d1d7ab6ca09e.tar.bz2 scummvm-rg350-e4fbcabbc96d10077c3bfd7af548d1d7ab6ca09e.zip |
LAB: Fix map
Regression from be1fd471be362eff1d6e05bef8b8469655174b16.
Diffstat (limited to 'engines/lab')
-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 d96631f330..6bd91c197d 100644 --- a/engines/lab/map.cpp +++ b/engines/lab/map.cpp @@ -86,7 +86,7 @@ void LabEngine::loadMapData() { _maxRooms = mapFile->readUint16LE(); _maps = new MapData[_maxRooms + 1]; // will be freed when the user exits the map - for (int i = 1; i <= _maxRooms; i++) { + for (int i = 0; i <= _maxRooms; i++) { _maps[i]._x = mapFile->readUint16LE(); _maps[i]._y = mapFile->readUint16LE(); _maps[i]._pageNumber = mapFile->readUint16LE(); |