Fixed: Audio mixer isEventMusicEnded status was always true.

--HG--
branch : develop
This commit is contained in:
Nimetu 2018-12-26 18:16:21 +02:00
parent 2bbdbd82d5
commit e1be4260d5

View file

@ -2759,7 +2759,7 @@ void CAudioMixerUser::setEventMusicVolume(float gain)
bool CAudioMixerUser::isEventMusicEnded() bool CAudioMixerUser::isEventMusicEnded()
{ {
if (_MusicChannelFaders[EventMusicChannel].isInitOk()) if (_MusicChannelFaders[EventMusicChannel].isInitOk())
_MusicChannelFaders[EventMusicChannel].isEnded(); return _MusicChannelFaders[EventMusicChannel].isEnded();
return true; return true;
} }