aboutsummaryrefslogtreecommitdiffstats
path: root/Alc/ALu.c
diff options
context:
space:
mode:
Diffstat (limited to 'Alc/ALu.c')
-rw-r--r--Alc/ALu.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Alc/ALu.c b/Alc/ALu.c
index a5513985..8b546506 100644
--- a/Alc/ALu.c
+++ b/Alc/ALu.c
@@ -1365,7 +1365,7 @@ next_source:
{
BufferListItem = ALSource->queue;
BuffersPlayed = 0;
- if(ALSource->BuffersInQueue == 1)
+ if(ALSource->lSourceType == AL_STATIC)
DataPosInt %= DataSize;
else
DataPosInt -= DataSize;