From: ehofman Date: Sat, 28 Nov 2009 12:59:40 +0000 (+0000) Subject: initialize volume to a proper value X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=27a6c720917ae1fa9b517b294eba9a5790545e39;p=simgear.git initialize volume to a proper value --- diff --git a/simgear/sound/sample_group.cxx b/simgear/sound/sample_group.cxx index 1c76bfa6..3cd0d9ae 100644 --- a/simgear/sound/sample_group.cxx +++ b/simgear/sound/sample_group.cxx @@ -39,6 +39,7 @@ SGSampleGroup::SGSampleGroup () : _active(false), _changed(false), _pause(false), + _volume(1.0), _tied_to_listener(false), _velocity(SGVec3d::zeros()), _orientation(SGQuatd::zeros()) @@ -52,6 +53,7 @@ SGSampleGroup::SGSampleGroup ( SGSoundMgr *smgr, const string &refname ) : _active(false), _changed(false), _pause(false), + _volume(1.0), _tied_to_listener(false), _velocity(SGVec3d::zeros()), _orientation(SGQuatd::zeros())