Actually update the sound gain after changing the setting. Patch by dpiquet, fixes #3901.

This was SVN commit r18193.
This commit is contained in:
elexis 2016-05-17 16:40:36 +00:00
parent 67cdbedb24
commit 01d41cc8a5

View File

@ -484,6 +484,9 @@ void CSoundManager::SetMasterGain(float gain)
void CSoundManager::SetMusicGain(float gain)
{
m_MusicGain = gain;
if (m_CurrentTune)
m_CurrentTune->SetGain(m_MusicGain);
}
void CSoundManager::SetAmbientGain(float gain)
{