diff options
author | Marisa-Chan | 2014-12-19 15:31:43 +0600 |
---|---|---|
committer | Marisa-Chan | 2014-12-19 15:31:43 +0600 |
commit | d96834020c9f3dac02d6a4feb8bac673ca223f94 (patch) | |
tree | e9db878e01884dd197d581ad3f053c08e51bec7f /engines | |
parent | 30212e4579e9f811f46cfadc5899c4d21cd513ed (diff) | |
download | scummvm-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.cpp | 4 |
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); |