diff options
Diffstat (limited to 'engines/hugo/file_v1w.cpp')
-rw-r--r-- | engines/hugo/file_v1w.cpp | 4 |
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); |