Fixed sound channels not being unmuted properly
parent
9e545d0d39
commit
19cc25f716
|
@ -356,6 +356,7 @@ int CALSound::Play(SoundType sound, const Math::Vector &pos, float amplitude, fl
|
||||||
chn->SetFrequency(frequency);
|
chn->SetFrequency(frequency);
|
||||||
chn->SetVolume(powf(amplitude * chn->GetVolumeAtrib(), 0.2f) * m_audioVolume);
|
chn->SetVolume(powf(amplitude * chn->GetVolumeAtrib(), 0.2f) * m_audioVolume);
|
||||||
chn->SetLoop(loop);
|
chn->SetLoop(loop);
|
||||||
|
chn->Mute(false);
|
||||||
|
|
||||||
if (!chn->Play())
|
if (!chn->Play())
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue