aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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