forked from 0ad/0ad
Actually update the sound gain after changing the setting. Patch by dpiquet, fixes #3901.
This was SVN commit r18193.
This commit is contained in:
parent
67cdbedb24
commit
01d41cc8a5
@ -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)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user