Fix uninitialized variable.

svn-id: r43738
This commit is contained in:
Johannes Schickel 2009-08-25 22:38:39 +00:00
parent 189b1ec62f
commit 9eb7d8e140

View File

@ -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);