[Scummvm-git-logs] scummvm master -> 541689eeb2f4ffd70ae7989e8313b2928de3ef11

digitall dgturner at iee.org
Thu Sep 5 09:48:52 CEST 2019


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:
541689eeb2 HDB: Add Missing Initializer in Sound Class


Commit: 541689eeb2f4ffd70ae7989e8313b2928de3ef11
    https://github.com/scummvm/scummvm/commit/541689eeb2f4ffd70ae7989e8313b2928de3ef11
Author: D G Turner (digitall at scummvm.org)
Date: 2019-09-05T08:47:02+01:00

Commit Message:
HDB: Add Missing Initializer in Sound Class

This fixes CID 1404916.

Changed paths:
    engines/hdb/sound.cpp


diff --git a/engines/hdb/sound.cpp b/engines/hdb/sound.cpp
index c1a7025..1b42cf6 100644
--- a/engines/hdb/sound.cpp
+++ b/engines/hdb/sound.cpp
@@ -1408,6 +1408,7 @@ const SoundLookUp soundList[] =  {
 Sound::Sound() {
 	_sfxVolume = 255;
 	_musicVolume = 255;
+	_numSounds = 0;
 }
 
 void Sound::test() {





More information about the Scummvm-git-logs mailing list