aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--engines/sci/engine/savegame.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/sci/engine/savegame.cpp b/engines/sci/engine/savegame.cpp
index 2f87b4a72e..a4c059db5a 100644
--- a/engines/sci/engine/savegame.cpp
+++ b/engines/sci/engine/savegame.cpp
@@ -155,7 +155,7 @@ void SegManager::saveLoadWithSerializer(Common::Serializer &s) {
} else {
// Old saved game. Skip the data.
Common::String tmp;
- for (int i = 0; i < 4; i++) {
+ for (int j = 0; j < 4; j++) {
s.syncString(tmp); // OBSOLETE: name
s.skip(4); // OBSOLETE: maxSize
s.syncString(tmp); // OBSOLETE: value