aboutsummaryrefslogtreecommitdiff
path: root/engines
diff options
context:
space:
mode:
authorFlorian Kagerer2009-06-06 15:32:42 +0000
committerFlorian Kagerer2009-06-06 15:32:42 +0000
commit4ee29a020d2fa0b5fc67bc62e1aaf74c02881304 (patch)
tree72b2c6e51d5ad48c1f07336aa0be25d9e6430a74 /engines
parent2af195482f1f86fc97b15e0acbb4c9f484929cab (diff)
downloadscummvm-rg350-4ee29a020d2fa0b5fc67bc62e1aaf74c02881304.tar.gz
scummvm-rg350-4ee29a020d2fa0b5fc67bc62e1aaf74c02881304.tar.bz2
scummvm-rg350-4ee29a020d2fa0b5fc67bc62e1aaf74c02881304.zip
LOL: fix last commit
svn-id: r41225
Diffstat (limited to 'engines')
-rw-r--r--engines/kyra/saveload_lol.cpp4
1 files changed, 2 insertions, 2 deletions
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;