aboutsummaryrefslogtreecommitdiffstats
path: root/Alc
diff options
context:
space:
mode:
authorChris Robinson <[email protected]>2016-05-09 16:34:54 -0700
committerChris Robinson <[email protected]>2016-05-09 17:01:18 -0700
commit7dac02148bca67ceae56e880f5f2a490faff1a38 (patch)
tree2aee2e5dd997125cf56b6e3105807f198caf30dc /Alc
parent182c0cb61abaff36554653d6a94c8a66fc263411 (diff)
Use the source's offset type to determine if there's an offset
Diffstat (limited to 'Alc')
-rw-r--r--Alc/ALc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Alc/ALc.c b/Alc/ALc.c
index f8eda9a5..b8dae07c 100644
--- a/Alc/ALc.c
+++ b/Alc/ALc.c
@@ -1604,7 +1604,7 @@ void ALCcontext_ProcessUpdates(ALCcontext *context)
ALenum new_state;
if((Source->state == AL_PLAYING || Source->state == AL_PAUSED) &&
- Source->Offset >= 0.0)
+ Source->OffsetType != AL_NONE)
{
WriteLock(&Source->queue_lock);
ApplyOffset(Source);