diff options
author | Strangerke | 2013-10-26 12:03:17 +0200 |
---|---|---|
committer | Strangerke | 2013-10-26 12:04:01 +0200 |
commit | 47953d13277fcc177eb18036a037c5b9fbb064f5 (patch) | |
tree | a6d13632a49e9b272281b1a958323d9c6eca6791 /engines | |
parent | 587f65c7617efd13fb20147e54a685830d5c6658 (diff) | |
download | scummvm-rg350-47953d13277fcc177eb18036a037c5b9fbb064f5.tar.gz scummvm-rg350-47953d13277fcc177eb18036a037c5b9fbb064f5.tar.bz2 scummvm-rg350-47953d13277fcc177eb18036a037c5b9fbb064f5.zip |
AVALANCHE: Fix CID1109676 - Uninitialized scalar fields (in Dialogs)
Diffstat (limited to 'engines')
-rw-r--r-- | engines/avalanche/dialogs.cpp | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/engines/avalanche/dialogs.cpp b/engines/avalanche/dialogs.cpp index 66d5be29b9..4b6cacf569 100644 --- a/engines/avalanche/dialogs.cpp +++ b/engines/avalanche/dialogs.cpp @@ -59,6 +59,19 @@ const QuasipedType Dialogs::kQuasipeds[16] = { Dialogs::Dialogs(AvalancheEngine *vm) { _vm = vm; _noError = true; + + _aboutBox = false; + _talkX = 0; + _talkY = 0; + _maxLineNum = 0; + _scReturn = false; + _currentFont = kFontStyleRoman; + _param = 0; + _useIcon = 0; + _scrollBells = 0; + _underScroll = 0; + _shadowBoxX = 0; + _shadowBoxY = 0; } void Dialogs::init() { |