diff options
author | Marisa-Chan | 2014-12-19 16:41:51 +0600 |
---|---|---|
committer | Marisa-Chan | 2014-12-19 16:41:51 +0600 |
commit | 897ecc190fc7233fa45082e24b97ff37bab1bc0c (patch) | |
tree | 2cbae3765267e9c80dd98b475eb074da7b1f9259 /engines | |
parent | edf35284977d0b666eb796d028ea54278c9736c9 (diff) | |
download | scummvm-rg350-897ecc190fc7233fa45082e24b97ff37bab1bc0c.tar.gz scummvm-rg350-897ecc190fc7233fa45082e24b97ff37bab1bc0c.tar.bz2 scummvm-rg350-897ecc190fc7233fa45082e24b97ff37bab1bc0c.zip |
ZVISION: Fix uninitialized scalar field (CID 1257074)
Diffstat (limited to 'engines')
-rw-r--r-- | engines/zvision/scripting/actions.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/engines/zvision/scripting/actions.cpp b/engines/zvision/scripting/actions.cpp index a5cc37a2f7..7e3a0667aa 100644 --- a/engines/zvision/scripting/actions.cpp +++ b/engines/zvision/scripting/actions.cpp @@ -594,6 +594,7 @@ bool ActionPreloadAnimation::execute() { ActionUnloadAnimation::ActionUnloadAnimation(ZVision *engine, int32 slotkey, const Common::String &line) : ResultAction(engine, slotkey) { + _key = 0; sscanf(line.c_str(), "%u", &_key); } |