diff options
author | Paweł Kołodziejski | 2006-02-03 07:30:29 +0000 |
---|---|---|
committer | Paweł Kołodziejski | 2006-02-03 07:30:29 +0000 |
commit | 2ebdbbf5e0123302cc16bf4ab45eb65d8f11601f (patch) | |
tree | 9f98ad9bffad38963ce5f2ae1c3da61657180589 /gob/map.cpp | |
parent | 4df095cb36369c72075744dc3521aa9c2f31218c (diff) | |
download | scummvm-rg350-2ebdbbf5e0123302cc16bf4ab45eb65d8f11601f.tar.gz scummvm-rg350-2ebdbbf5e0123302cc16bf4ab45eb65d8f11601f.tar.bz2 scummvm-rg350-2ebdbbf5e0123302cc16bf4ab45eb65d8f11601f.zip |
fixes allow compile with emsvc4 again
svn-id: r20355
Diffstat (limited to 'gob/map.cpp')
-rw-r--r-- | gob/map.cpp | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/gob/map.cpp b/gob/map.cpp index 9c6668ad9d..4c7ea3c15f 100644 --- a/gob/map.cpp +++ b/gob/map.cpp @@ -32,16 +32,18 @@ namespace Gob { Map::Map(GobEngine *vm) : _vm(vm) { - for (int i = 0; i < kMapHeight; i++) + int i; + + for (i = 0; i < kMapHeight; i++) for (int j = 0; j < kMapWidth; j++) { _passMap[i][j] = 0; _itemsMap[i][j] = 0; } - for (int i = 0; i < 40; i++) { + for (i = 0; i < 40; i++) { _wayPoints[i].x = 0; _wayPoints[i].y = 0; } - for (int i = 0; i < 40; i++) { + for (i = 0; i < 40; i++) { _itemPoses[i].x = 0; _itemPoses[i].y = 0; _itemPoses[i].orient = 0; |