aboutsummaryrefslogtreecommitdiff
path: root/engines/gob/map_v2.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'engines/gob/map_v2.cpp')
-rw-r--r--engines/gob/map_v2.cpp6
1 files changed, 2 insertions, 4 deletions
diff --git a/engines/gob/map_v2.cpp b/engines/gob/map_v2.cpp
index 561f13a8d1..ac94b39b39 100644
--- a/engines/gob/map_v2.cpp
+++ b/engines/gob/map_v2.cpp
@@ -117,11 +117,9 @@ void Map_v2::loadMapObjects(char *avjFile) {
_passMap = (int8 *) variables;
mapHeight = 200 / _tilesHeight;
mapWidth = _screenWidth / _tilesWidth;
- for (i = 0; i < mapHeight; i++) {
- for (j = 0; j < mapWidth; j++) {
+ for (i = 0; i < mapHeight; i++)
+ for (j = 0; j < mapWidth; j++)
setPass(j, i, mapData.readSByte());
- }
- }
}
mapData.seek(dataPos1);