summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChris Robinson <[email protected]>2010-09-26 01:29:28 -0700
committerChris Robinson <[email protected]>2010-09-26 01:29:28 -0700
commit7cd52b28579274fde27f6f8d9b945a4eff7adf36 (patch)
tree95a67b408ed331652de10f94d82e4512ccf71b97
parent9fbd6c6c3f0e4c486cdf37823369959e43ac88c3 (diff)
Clarify a check
-rw-r--r--Alc/mixer.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Alc/mixer.c b/Alc/mixer.c
index 8504d388..640bfe88 100644
--- a/Alc/mixer.c
+++ b/Alc/mixer.c
@@ -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++;