aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--engines/scumm/saveload.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/scumm/saveload.cpp b/engines/scumm/saveload.cpp
index e5673c1803..f3df24ff51 100644
--- a/engines/scumm/saveload.cpp
+++ b/engines/scumm/saveload.cpp
@@ -1303,7 +1303,7 @@ void ScummEngine::saveOrLoad(Serializer *s) {
if (hasTownsData) {
// Skip FM-Towns specific data
- for (int i = 69 * sizeof(uint8) + 44 * sizeof(int16); i; i--)
+ for (i = 69 * sizeof(uint8) + 44 * sizeof(int16); i; i--)
s->loadByte();
}