diff options
author | Strangerke | 2013-10-26 22:35:27 +0200 |
---|---|---|
committer | Strangerke | 2013-10-26 22:35:27 +0200 |
commit | a6f7b638a1c42624ad9a4517406f131452d97524 (patch) | |
tree | 7a5572305597f38f73664b4b138dfdcfeb719e9a /engines | |
parent | bd6f531d853f5d40824f7270095cd4fb9adf7a89 (diff) | |
download | scummvm-rg350-a6f7b638a1c42624ad9a4517406f131452d97524.tar.gz scummvm-rg350-a6f7b638a1c42624ad9a4517406f131452d97524.tar.bz2 scummvm-rg350-a6f7b638a1c42624ad9a4517406f131452d97524.zip |
TSAGE: Fix CID 1002374 - Uninitialized variables in R2R Speakers
Diffstat (limited to 'engines')
-rw-r--r-- | engines/tsage/ringworld2/ringworld2_speakers.cpp | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/engines/tsage/ringworld2/ringworld2_speakers.cpp b/engines/tsage/ringworld2/ringworld2_speakers.cpp index 8b6ce4a1f3..5fffc92c82 100644 --- a/engines/tsage/ringworld2/ringworld2_speakers.cpp +++ b/engines/tsage/ringworld2/ringworld2_speakers.cpp @@ -42,6 +42,13 @@ VisualSpeaker::VisualSpeaker(): Speaker() { _color2 = 0; _displayMode = 0; _speakerMode = 0; + + _object2 = nullptr; + _fieldF8 = 0; + _soundId = 0; + _removeObject = false; + _numFrames = 0; + _voiceFrameNumber = 0; } void VisualSpeaker::remove() { |