aboutsummaryrefslogtreecommitdiff
path: root/engines/kyra
diff options
context:
space:
mode:
authorJohannes Schickel2009-03-28 16:35:54 +0000
committerJohannes Schickel2009-03-28 16:35:54 +0000
commit2b7af654bdc66ac81cbf3e4218a2a4e1ab262330 (patch)
treed9b5b2fd9e9192476f952b566602fe67abcbfa70 /engines/kyra
parent9a21bd26e98e01f1b7b9713ad20c8e5cd88b40a9 (diff)
downloadscummvm-rg350-2b7af654bdc66ac81cbf3e4218a2a4e1ab262330.tar.gz
scummvm-rg350-2b7af654bdc66ac81cbf3e4218a2a4e1ab262330.tar.bz2
scummvm-rg350-2b7af654bdc66ac81cbf3e4218a2a4e1ab262330.zip
Fix invalid memory writes.
svn-id: r39727
Diffstat (limited to 'engines/kyra')
-rw-r--r--engines/kyra/lol.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/kyra/lol.cpp b/engines/kyra/lol.cpp
index e4521f5d1d..558bbae6a4 100644
--- a/engines/kyra/lol.cpp
+++ b/engines/kyra/lol.cpp
@@ -211,7 +211,7 @@ LoLEngine::LoLEngine(OSystem *system, const GameFlags &flags) : KyraEngine_v1(sy
_smoothScrollingEnabled = true;
_floatingCursorsEnabled = false;
- memset (_lvlTempData, 0, sizeof(LevelTempData) * 28);
+ memset(_lvlTempData, 0, sizeof(_lvlTempData));
_unkIceSHpFlag = 0;
}