diff options
-rw-r--r-- | engines/lastexpress/game/savepoint.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/engines/lastexpress/game/savepoint.cpp b/engines/lastexpress/game/savepoint.cpp index 9a93c975ba..30467f8368 100644 --- a/engines/lastexpress/game/savepoint.cpp +++ b/engines/lastexpress/game/savepoint.cpp @@ -249,12 +249,12 @@ void SavePoints::saveLoadWithSerializer(Common::Serializer &s) { s.skip((_savePointsMaxSize - dataSize) * 16); // Number of savepoints - uint32 count = _savepoints.size(); - s.syncAsUint32LE(count); + uint32 numSavepoints = _savepoints.size(); + s.syncAsUint32LE(numSavepoints); // Savepoints if (s.isLoading()) { - for (uint i= 0; i < count; i++) { + for (uint i = 0; i < numSavepoints; i++) { SavePoint point; s.syncAsUint32LE(point.entity1); s.syncAsUint32LE(point.action); |