Fixed sound channels not being unmuted properly

master
krzys-h 2016-07-10 20:12:44 +02:00
parent 9e545d0d39
commit 19cc25f716
1 changed files with 1 additions and 0 deletions

View File

@ -356,6 +356,7 @@ int CALSound::Play(SoundType sound, const Math::Vector &pos, float amplitude, fl
chn->SetFrequency(frequency);
chn->SetVolume(powf(amplitude * chn->GetVolumeAtrib(), 0.2f) * m_audioVolume);
chn->SetLoop(loop);
chn->Mute(false);
if (!chn->Play())
{