aboutsummaryrefslogtreecommitdiff
path: root/engines/hugo/file_v1w.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'engines/hugo/file_v1w.cpp')
-rw-r--r--engines/hugo/file_v1w.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/engines/hugo/file_v1w.cpp b/engines/hugo/file_v1w.cpp
index b902e50f15..dbb093752a 100644
--- a/engines/hugo/file_v1w.cpp
+++ b/engines/hugo/file_v1w.cpp
@@ -81,8 +81,7 @@ void FileManager_v1w::readOverlay(const int screenNum, image_pt image, ovl_t ove
break;
}
if (i == 0) {
- for (int idx = 0; idx < kOvlSize; idx++)
- image[idx] = 0;
+ memset(image, 0, sizeof(image));
return;
}
_sceneryArchive1.read(tmpImage, kOvlSize);