aboutsummaryrefslogtreecommitdiff
path: root/engines/zvision/scripting/controls
diff options
context:
space:
mode:
authorMarisa-Chan2014-12-19 15:37:33 +0600
committerMarisa-Chan2014-12-19 15:37:33 +0600
commitc50024fd86e6bb0b21f70eb4e018f823913f36fd (patch)
tree0d6477d274e5331a355f6b002147a1329d297804 /engines/zvision/scripting/controls
parentb10f66438f4a11feece7a6f2eb0cd753169701c4 (diff)
downloadscummvm-rg350-c50024fd86e6bb0b21f70eb4e018f823913f36fd.tar.gz
scummvm-rg350-c50024fd86e6bb0b21f70eb4e018f823913f36fd.tar.bz2
scummvm-rg350-c50024fd86e6bb0b21f70eb4e018f823913f36fd.zip
ZVISION: Fix uninitialized pointer field (CID 1109699)
Diffstat (limited to 'engines/zvision/scripting/controls')
-rw-r--r--engines/zvision/scripting/controls/lever_control.cpp5
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();