Go to the next voice when a source is stopped

This commit is contained in:
Chris Robinson 2014-11-07 16:05:06 -08:00
parent 1a326c758b
commit 35eacf058e

View File

@ -1604,7 +1604,7 @@ void ALCcontext_DeferUpdates(ALCcontext *context)
if(source->state != AL_PLAYING && source->state != AL_PAUSED)
{
voice->Source = NULL;
continue;
goto next;
}
if(ATOMIC_EXCHANGE(ALenum, &source->NeedsUpdate, AL_FALSE) || UpdateSources)