aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFlorian Kagerer2009-06-06 14:42:03 +0000
committerFlorian Kagerer2009-06-06 14:42:03 +0000
commit2af195482f1f86fc97b15e0acbb4c9f484929cab (patch)
tree626d311aff2915780e5319753bd8104146c3e2b3
parentad1b53472b8a5e9c89b898bd67d16548e9b3e8f7 (diff)
downloadscummvm-rg350-2af195482f1f86fc97b15e0acbb4c9f484929cab.tar.gz
scummvm-rg350-2af195482f1f86fc97b15e0acbb4c9f484929cab.tar.bz2
scummvm-rg350-2af195482f1f86fc97b15e0acbb4c9f484929cab.zip
LOL: fixed level temp data size
svn-id: r41224
-rw-r--r--engines/kyra/lol.cpp2
-rw-r--r--engines/kyra/lol.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/engines/kyra/lol.cpp b/engines/kyra/lol.cpp
index 31062e41fa..12f1e99dd7 100644
--- a/engines/kyra/lol.cpp
+++ b/engines/kyra/lol.cpp
@@ -383,7 +383,7 @@ LoLEngine::~LoLEngine() {
delete[] _ingameSoundList;
}
- for (int i = 0; i < 28; i++) {
+ for (int i = 0; i < 29; i++) {
if (_lvlTempData[i]) {
delete[] _lvlTempData[i]->wallsXorData;
delete[] _lvlTempData[i]->flags;
diff --git a/engines/kyra/lol.h b/engines/kyra/lol.h
index be734d083c..8cb4cf5241 100644
--- a/engines/kyra/lol.h
+++ b/engines/kyra/lol.h
@@ -1459,7 +1459,7 @@ private:
Common::Error saveGameState(int slot, const char *saveName, const Graphics::Surface *thumbnail);
void generateTempData();
- LevelTempData *_lvlTempData[28];
+ LevelTempData *_lvlTempData[29];
};
} // end of namespace Kyra