aboutsummaryrefslogtreecommitdiffstats
path: root/OpenAL32/alState.c
diff options
context:
space:
mode:
Diffstat (limited to 'OpenAL32/alState.c')
-rw-r--r--OpenAL32/alState.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/OpenAL32/alState.c b/OpenAL32/alState.c
index ec6ee827..d7393767 100644
--- a/OpenAL32/alState.c
+++ b/OpenAL32/alState.c
@@ -647,7 +647,7 @@ AL_API ALvoid AL_APIENTRY alProcessUpdatesSOFT(void)
ALenum new_state;
if((Source->state == AL_PLAYING || Source->state == AL_PAUSED) &&
- Source->lOffset != -1)
+ Source->Offset >= 0.0)
ApplyOffset(Source);
new_state = ExchangeInt(&Source->new_state, AL_NONE);