diff options
author | Marisa-Chan | 2014-12-19 16:39:21 +0600 |
---|---|---|
committer | Marisa-Chan | 2014-12-19 16:39:21 +0600 |
commit | 704a4b3400e07ce5d86e7db7e63c3cc89da383e9 (patch) | |
tree | e26195744c36e7b5fa1e6e3abba1d169eade1456 | |
parent | 8278ed6022f4b172c6173866224071f381a12bd5 (diff) | |
download | scummvm-rg350-704a4b3400e07ce5d86e7db7e63c3cc89da383e9.tar.gz scummvm-rg350-704a4b3400e07ce5d86e7db7e63c3cc89da383e9.tar.bz2 scummvm-rg350-704a4b3400e07ce5d86e7db7e63c3cc89da383e9.zip |
ZVISION: Fix uninitialized scalar field (CID 1257072)
-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 a14fa37e4b..a5cc37a2f7 100644 --- a/engines/zvision/scripting/actions.cpp +++ b/engines/zvision/scripting/actions.cpp @@ -217,6 +217,7 @@ bool ActionCursor::execute() { ActionDelayRender::ActionDelayRender(ZVision *engine, int32 slotkey, const Common::String &line) : ResultAction(engine, slotkey) { + _framesToDelay = 0; sscanf(line.c_str(), "%u", &_framesToDelay); } |