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 25d2db42..d2746d68 100644
--- a/Alc/ALu.c
+++ b/Alc/ALu.c
@@ -1324,7 +1324,7 @@ ALvoid aluHandleDisconnect(ALCdevice *device)
if(source->state == AL_PLAYING)
{
source->state = AL_STOPPED;
- source->BuffersPlayed = source->BuffersInQueue;
+ source->current_buffer = NULL;
source->position = 0;
source->position_fraction = 0;
}