diff options
author | Chris Robinson <[email protected]> | 2016-05-09 16:34:54 -0700 |
---|---|---|
committer | Chris Robinson <[email protected]> | 2016-05-09 17:01:18 -0700 |
commit | 7dac02148bca67ceae56e880f5f2a490faff1a38 (patch) | |
tree | 2aee2e5dd997125cf56b6e3105807f198caf30dc /Alc | |
parent | 182c0cb61abaff36554653d6a94c8a66fc263411 (diff) |
Use the source's offset type to determine if there's an offset
Diffstat (limited to 'Alc')
-rw-r--r-- | Alc/ALc.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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); |