mirror of
https://gitea.wildfiregames.com/0ad/0ad.git
synced 2026-09-21 20:06:40 +00:00
Actually update the sound gain after changing the setting. Patch by dpiquet, fixes #3901.
This was SVN commit r18193.
This commit is contained in:
@@ -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)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user