Clarify a check

This commit is contained in:
Chris Robinson
2010-09-26 01:29:28 -07:00
parent 9fbd6c6c3f
commit 7cd52b2857
+1 -1
View File
@@ -715,7 +715,7 @@ ALvoid MixSource(ALsource *Source, ALuint SamplesToDo,
/* Handle looping sources */
if(DataPosInt >= LoopEnd)
{
if(BuffersPlayed < (Source->BuffersInQueue-1))
if(BufferListItem->next)
{
BufferListItem = BufferListItem->next;
BuffersPlayed++;