diff options
author | Johannes Schickel | 2016-04-15 00:25:35 +0200 |
---|---|---|
committer | Johannes Schickel | 2016-04-15 00:26:17 +0200 |
commit | 30cae4d12d31f5ca86638e9eaf15d93e3375120c (patch) | |
tree | 94d4094582378e6f1b4e8764971c28ff08b8f7b5 | |
parent | 41537807036118c872964da11dc34195ca5626c8 (diff) | |
download | scummvm-rg350-30cae4d12d31f5ca86638e9eaf15d93e3375120c.tar.gz scummvm-rg350-30cae4d12d31f5ca86638e9eaf15d93e3375120c.tar.bz2 scummvm-rg350-30cae4d12d31f5ca86638e9eaf15d93e3375120c.zip |
KYRA: Initialize variable before usage.
Thanks to salty-horse for reporting.
-rw-r--r-- | engines/kyra/kyra_v2.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/engines/kyra/kyra_v2.cpp b/engines/kyra/kyra_v2.cpp index 925dcf7bfe..106420d9c2 100644 --- a/engines/kyra/kyra_v2.cpp +++ b/engines/kyra/kyra_v2.cpp @@ -46,6 +46,8 @@ KyraEngine_v2::KyraEngine_v2(OSystem *system, const GameFlags &flags, const Engi memset(&_sceneScriptState, 0, sizeof(_sceneScriptState)); memset(&_sceneScriptData, 0, sizeof(_sceneScriptData)); + Common::fill(_sceneSpecialScriptsTimer, ARRAYEND(_sceneSpecialScriptsTimer), 0); + _animObjects = 0; _runFlag = true; |