diff options
author | Marisa-Chan | 2014-12-19 17:04:26 +0600 |
---|---|---|
committer | Marisa-Chan | 2014-12-19 17:04:26 +0600 |
commit | 7609b6d866576de9a70aadfb17895cfd30393eb8 (patch) | |
tree | de059c00421d10634c19dc3060dc191e2d73dffa | |
parent | 7a0b5982b133c8ef5ed87cd1418ea28cf7da96fb (diff) | |
download | scummvm-rg350-7609b6d866576de9a70aadfb17895cfd30393eb8.tar.gz scummvm-rg350-7609b6d866576de9a70aadfb17895cfd30393eb8.tar.bz2 scummvm-rg350-7609b6d866576de9a70aadfb17895cfd30393eb8.zip |
ZVISION: Fix uninitialized scalar field (CID 1257086)
-rw-r--r-- | engines/zvision/scripting/actions.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/engines/zvision/scripting/actions.cpp b/engines/zvision/scripting/actions.cpp index 60d05fb063..5274637ca0 100644 --- a/engines/zvision/scripting/actions.cpp +++ b/engines/zvision/scripting/actions.cpp @@ -232,6 +232,8 @@ bool ActionDelayRender::execute() { ActionDisableControl::ActionDisableControl(ZVision *engine, int32 slotkey, const Common::String &line) : ResultAction(engine, slotkey) { + _key = 0; + sscanf(line.c_str(), "%u", &_key); } |