aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Alc/mixer.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Alc/mixer.c b/Alc/mixer.c
index 3c1f266f..3984a8b8 100644
--- a/Alc/mixer.c
+++ b/Alc/mixer.c
@@ -186,7 +186,7 @@ static void MixSource(ALsource *ALSource, ALCcontext *ALContext,
/* Get current buffer queue item */
BufferListItem = ALSource->queue;
- for(i = 0;i < BuffersPlayed && BufferListItem;i++)
+ for(i = 0;i < BuffersPlayed;i++)
BufferListItem = BufferListItem->next;
j = 0;