aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohannes Schickel2009-08-25 22:38:39 +0000
committerJohannes Schickel2009-08-25 22:38:39 +0000
commit9eb7d8e140a34f26c7057a763ef58bc43b539df0 (patch)
tree155a4725ce4b3b1ef4ad3241a49173eb47560960
parent189b1ec62ff7de17fa2a089b454335f716f29a6b (diff)
downloadscummvm-rg350-9eb7d8e140a34f26c7057a763ef58bc43b539df0.tar.gz
scummvm-rg350-9eb7d8e140a34f26c7057a763ef58bc43b539df0.tar.bz2
scummvm-rg350-9eb7d8e140a34f26c7057a763ef58bc43b539df0.zip
Fix uninitialized variable.
svn-id: r43738
-rw-r--r--engines/kyra/kyra_lok.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/engines/kyra/kyra_lok.cpp b/engines/kyra/kyra_lok.cpp
index 46c189470c..52e00606e9 100644
--- a/engines/kyra/kyra_lok.cpp
+++ b/engines/kyra/kyra_lok.cpp
@@ -80,6 +80,7 @@ KyraEngine_LoK::KyraEngine_LoK(OSystem *system, const GameFlags &flags)
_animator = 0;
_seq = 0;
_characterList = 0;
+ _roomTable = 0;
_movFacingTable = 0;
_buttonData = 0;
_buttonDataListPtr = 0;
@@ -308,7 +309,7 @@ Common::Error KyraEngine_LoK::go() {
setGameFlag(0xEF);
_seqPlayerFlag = true;
seq_intro();
- if (shouldQuit() || _flags.isDemo)
+ if (shouldQuit())
return Common::kNoError;
if (_skipIntroFlag && _abortIntroFlag)
resetGameFlag(0xEF);