From 4ee29a020d2fa0b5fc67bc62e1aaf74c02881304 Mon Sep 17 00:00:00 2001 From: Florian Kagerer Date: Sat, 6 Jun 2009 15:32:42 +0000 Subject: LOL: fix last commit svn-id: r41225 --- engines/kyra/saveload_lol.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'engines/kyra') diff --git a/engines/kyra/saveload_lol.cpp b/engines/kyra/saveload_lol.cpp index 248c46c2a3..cdfaca3b6d 100644 --- a/engines/kyra/saveload_lol.cpp +++ b/engines/kyra/saveload_lol.cpp @@ -162,7 +162,7 @@ Common::Error LoLEngine::loadGameState(int slot) { l->direction = 5; } - for (int i = 0; i < 28; i++) { + for (int i = 0; i < 29; i++) { if (!(_hasTempDataFlags & (1 << i))) continue; @@ -357,7 +357,7 @@ Common::Error LoLEngine::saveGameState(int slot, const char *saveName, const Gra addLevelItems(); - for (int i = 0; i < 28; i++) { + for (int i = 0; i < 29; i++) { LevelTempData *l = _lvlTempData[i]; if (!l || !(_hasTempDataFlags & (1 << i))) continue; -- cgit v1.2.3