aboutsummaryrefslogtreecommitdiff
path: root/engines/kyra/lol.cpp
diff options
context:
space:
mode:
authorJohannes Schickel2009-06-01 21:03:44 +0000
committerJohannes Schickel2009-06-01 21:03:44 +0000
commitbdea557d7f98b6aeba3b72efd57c4e4aa39c36be (patch)
treeeb5f06088330421476f101ad48bb0d5618ececb7 /engines/kyra/lol.cpp
parent5f7515162a77ea507444d456d696cf52fcdba18f (diff)
downloadscummvm-rg350-bdea557d7f98b6aeba3b72efd57c4e4aa39c36be.tar.gz
scummvm-rg350-bdea557d7f98b6aeba3b72efd57c4e4aa39c36be.tar.bz2
scummvm-rg350-bdea557d7f98b6aeba3b72efd57c4e4aa39c36be.zip
- Fix some valgrind warnings
- Fix original bug in the Lands of Lore credits, which messed up some headings (the original didn't display them at all for some reason) svn-id: r41111
Diffstat (limited to 'engines/kyra/lol.cpp')
-rw-r--r--engines/kyra/lol.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/engines/kyra/lol.cpp b/engines/kyra/lol.cpp
index 8c969b2b33..e504fc5bad 100644
--- a/engines/kyra/lol.cpp
+++ b/engines/kyra/lol.cpp
@@ -242,6 +242,8 @@ LoLEngine::LoLEngine(OSystem *system, const GameFlags &flags) : KyraEngine_v1(sy
_timer3Para = 0;
_scriptCharacterCycle = 0;
_partyDeathFlag = -1;
+
+ memset(&_itemScript, 0, sizeof(_itemScript));
}
LoLEngine::~LoLEngine() {