Submix deletion bug fix

This commit is contained in:
Jack Andersen 2017-01-21 15:39:15 -10:00
parent 594d590a55
commit 23a0c4d1da
1 changed files with 1 additions and 0 deletions

View File

@ -161,6 +161,7 @@ void BaseAudioVoiceEngine::_unbindFrom(std::list<AudioVoice*>::iterator it)
void BaseAudioVoiceEngine::_unbindFrom(std::list<AudioSubmix*>::iterator it) void BaseAudioVoiceEngine::_unbindFrom(std::list<AudioSubmix*>::iterator it)
{ {
m_activeSubmixes.erase(it); m_activeSubmixes.erase(it);
m_submixesDirty = true;
} }
std::unique_ptr<IAudioVoice> std::unique_ptr<IAudioVoice>