[Scummvm-cvs-logs] scummvm master -> a6f7b638a1c42624ad9a4517406f131452d97524

Strangerke Strangerke at scummvm.org
Sat Oct 26 22:36:22 CEST 2013


This automated email contains information about 1 new commit which have been
pushed to the 'scummvm' repo located at https://github.com/scummvm/scummvm .

Summary:
a6f7b638a1 TSAGE: Fix CID 1002374 - Uninitialized variables in R2R Speakers


Commit: a6f7b638a1c42624ad9a4517406f131452d97524
    https://github.com/scummvm/scummvm/commit/a6f7b638a1c42624ad9a4517406f131452d97524
Author: Strangerke (strangerke at scummvm.org)
Date: 2013-10-26T13:35:27-07:00

Commit Message:
TSAGE: Fix CID 1002374 - Uninitialized variables in R2R Speakers

Changed paths:
    engines/tsage/ringworld2/ringworld2_speakers.cpp



diff --git a/engines/tsage/ringworld2/ringworld2_speakers.cpp b/engines/tsage/ringworld2/ringworld2_speakers.cpp
index 8b6ce4a..5fffc92 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() {






More information about the Scummvm-git-logs mailing list