aboutsummaryrefslogtreecommitdiff
path: root/engines/hugo/file_v1w.cpp
diff options
context:
space:
mode:
authorArnaud Boutonné2011-01-23 00:19:40 +0000
committerArnaud Boutonné2011-01-23 00:19:40 +0000
commit7f4e1bde1edd3f1c08848b1a1f77505758f2ea13 (patch)
tree35236a920430120cd051339761891609d412e90b /engines/hugo/file_v1w.cpp
parent93409aa381b6d953599491cb6b7f3a4c3f117d5a (diff)
downloadscummvm-rg350-7f4e1bde1edd3f1c08848b1a1f77505758f2ea13.tar.gz
scummvm-rg350-7f4e1bde1edd3f1c08848b1a1f77505758f2ea13.tar.bz2
scummvm-rg350-7f4e1bde1edd3f1c08848b1a1f77505758f2ea13.zip
HUGO: Fix several warnings
svn-id: r55453
Diffstat (limited to 'engines/hugo/file_v1w.cpp')
-rw-r--r--engines/hugo/file_v1w.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/engines/hugo/file_v1w.cpp b/engines/hugo/file_v1w.cpp
index 2701b67c2b..38235189e0 100644
--- a/engines/hugo/file_v1w.cpp
+++ b/engines/hugo/file_v1w.cpp
@@ -81,8 +81,8 @@ void FileManager_v1w::readOverlay(int screenNum, image_pt image, ovl_t overlayTy
break;
}
if (i == 0) {
- for (i = 0; i < kOvlSize; i++)
- image[i] = 0;
+ for (int idx = 0; idx < kOvlSize; idx++)
+ image[idx] = 0;
return;
}
_sceneryArchive1.read(tmpImage, kOvlSize);