diff options
author | Marisa-Chan | 2014-12-19 15:37:33 +0600 |
---|---|---|
committer | Marisa-Chan | 2014-12-19 15:37:33 +0600 |
commit | c50024fd86e6bb0b21f70eb4e018f823913f36fd (patch) | |
tree | 0d6477d274e5331a355f6b002147a1329d297804 | |
parent | b10f66438f4a11feece7a6f2eb0cd753169701c4 (diff) | |
download | scummvm-rg350-c50024fd86e6bb0b21f70eb4e018f823913f36fd.tar.gz scummvm-rg350-c50024fd86e6bb0b21f70eb4e018f823913f36fd.tar.bz2 scummvm-rg350-c50024fd86e6bb0b21f70eb4e018f823913f36fd.zip |
ZVISION: Fix uninitialized pointer field (CID 1109699)
-rw-r--r-- | engines/zvision/scripting/controls/lever_control.cpp | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/engines/zvision/scripting/controls/lever_control.cpp b/engines/zvision/scripting/controls/lever_control.cpp index 71dd52f40f..8faa18357c 100644 --- a/engines/zvision/scripting/controls/lever_control.cpp +++ b/engines/zvision/scripting/controls/lever_control.cpp @@ -48,7 +48,10 @@ LeverControl::LeverControl(ZVision *engine, uint32 key, Common::SeekableReadStre _mouseIsCaptured(false), _isReturning(false), _accumulatedTime(0), - _returnRoutesCurrentFrame(0) { + _returnRoutesCurrentFrame(0), + _animation(NULL), + _cursor(CursorIndex_Active), + _mirrored(false) { // Loop until we find the closing brace Common::String line = stream.readLine(); |