aboutsummaryrefslogtreecommitdiff
path: root/engines
diff options
context:
space:
mode:
authorMarisa-Chan2014-12-19 16:39:21 +0600
committerMarisa-Chan2014-12-19 16:39:21 +0600
commit704a4b3400e07ce5d86e7db7e63c3cc89da383e9 (patch)
treee26195744c36e7b5fa1e6e3abba1d169eade1456 /engines
parent8278ed6022f4b172c6173866224071f381a12bd5 (diff)
downloadscummvm-rg350-704a4b3400e07ce5d86e7db7e63c3cc89da383e9.tar.gz
scummvm-rg350-704a4b3400e07ce5d86e7db7e63c3cc89da383e9.tar.bz2
scummvm-rg350-704a4b3400e07ce5d86e7db7e63c3cc89da383e9.zip
ZVISION: Fix uninitialized scalar field (CID 1257072)
Diffstat (limited to 'engines')
-rw-r--r--engines/zvision/scripting/actions.cpp1
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);
}