From e1be4260d5c8f93e96507128cf8422e5dacce149 Mon Sep 17 00:00:00 2001 From: Nimetu Date: Wed, 26 Dec 2018 18:16:21 +0200 Subject: [PATCH] Fixed: Audio mixer isEventMusicEnded status was always true. --HG-- branch : develop --- code/nel/src/sound/audio_mixer_user.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/code/nel/src/sound/audio_mixer_user.cpp b/code/nel/src/sound/audio_mixer_user.cpp index 854a2c1dc..7ea0e5d6e 100644 --- a/code/nel/src/sound/audio_mixer_user.cpp +++ b/code/nel/src/sound/audio_mixer_user.cpp @@ -2759,7 +2759,7 @@ void CAudioMixerUser::setEventMusicVolume(float gain) bool CAudioMixerUser::isEventMusicEnded() { if (_MusicChannelFaders[EventMusicChannel].isInitOk()) - _MusicChannelFaders[EventMusicChannel].isEnded(); + return _MusicChannelFaders[EventMusicChannel].isEnded(); return true; }