From 2af195482f1f86fc97b15e0acbb4c9f484929cab Mon Sep 17 00:00:00 2001 From: Florian Kagerer Date: Sat, 6 Jun 2009 14:42:03 +0000 Subject: LOL: fixed level temp data size svn-id: r41224 --- engines/kyra/lol.cpp | 2 +- engines/kyra/lol.h | 2 +- 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 -- cgit v1.2.3