diff options
author | Chris Robinson <[email protected]> | 2010-09-26 01:29:28 -0700 |
---|---|---|
committer | Chris Robinson <[email protected]> | 2010-09-26 01:29:28 -0700 |
commit | 7cd52b28579274fde27f6f8d9b945a4eff7adf36 (patch) | |
tree | 95a67b408ed331652de10f94d82e4512ccf71b97 /Alc/mixer.c | |
parent | 9fbd6c6c3f0e4c486cdf37823369959e43ac88c3 (diff) |
Clarify a check
Diffstat (limited to 'Alc/mixer.c')
-rw-r--r-- | Alc/mixer.c | 2 |
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++; |