diff options
author | Marisa-Chan | 2014-12-19 16:48:36 +0600 |
---|---|---|
committer | Marisa-Chan | 2014-12-19 16:48:36 +0600 |
commit | fb0872e40be6cc9c04efdb61dea91e914b02b529 (patch) | |
tree | dce9ee8bae11aabc41806691a41b938675879f9c /engines | |
parent | 7055ee77552f9126be095aac83ecfcef425f4dd3 (diff) | |
download | scummvm-rg350-fb0872e40be6cc9c04efdb61dea91e914b02b529.tar.gz scummvm-rg350-fb0872e40be6cc9c04efdb61dea91e914b02b529.tar.bz2 scummvm-rg350-fb0872e40be6cc9c04efdb61dea91e914b02b529.zip |
ZVISION: Fix uninitialized scalar field (CID 1257076)
Diffstat (limited to 'engines')
-rw-r--r-- | engines/zvision/scripting/controls/slot_control.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/engines/zvision/scripting/controls/slot_control.cpp b/engines/zvision/scripting/controls/slot_control.cpp index 292a2b4bc9..5228ba517b 100644 --- a/engines/zvision/scripting/controls/slot_control.cpp +++ b/engines/zvision/scripting/controls/slot_control.cpp @@ -34,7 +34,9 @@ namespace ZVision { SlotControl::SlotControl(ZVision *engine, uint32 key, Common::SeekableReadStream &stream) - : Control(engine, key, CONTROL_SLOT) { + : Control(engine, key, CONTROL_SLOT), + _cursor(CursorIndex_Active), + _distanceId('0') { _renderedItem = 0; _bkg = NULL; |