aboutsummaryrefslogtreecommitdiff
path: root/engines
diff options
context:
space:
mode:
authorMarisa-Chan2014-12-19 15:31:43 +0600
committerMarisa-Chan2014-12-19 15:31:43 +0600
commitd96834020c9f3dac02d6a4feb8bac673ca223f94 (patch)
treee9db878e01884dd197d581ad3f053c08e51bec7f /engines
parent30212e4579e9f811f46cfadc5899c4d21cd513ed (diff)
downloadscummvm-rg350-d96834020c9f3dac02d6a4feb8bac673ca223f94.tar.gz
scummvm-rg350-d96834020c9f3dac02d6a4feb8bac673ca223f94.tar.bz2
scummvm-rg350-d96834020c9f3dac02d6a4feb8bac673ca223f94.zip
ZVISION: Fix uninitialized scalar field (CID 1109669)
Diffstat (limited to 'engines')
-rw-r--r--engines/zvision/scripting/controls/input_control.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/engines/zvision/scripting/controls/input_control.cpp b/engines/zvision/scripting/controls/input_control.cpp
index 6959f9eca9..e75cc15743 100644
--- a/engines/zvision/scripting/controls/input_control.cpp
+++ b/engines/zvision/scripting/controls/input_control.cpp
@@ -46,7 +46,9 @@ InputControl::InputControl(ZVision *engine, uint32 key, Common::SeekableReadStre
_enterPressed(false),
_readOnly(false),
_txtWidth(0),
- _animation(NULL) {
+ _animation(NULL),
+ _frameDelay(0),
+ _frame(-1) {
// Loop until we find the closing brace
Common::String line = stream.readLine();
_engine->getScriptManager()->trimCommentsAndWhiteSpace(&line);