From e47557630eded79f5b15ec78f646542301ba705c Mon Sep 17 00:00:00 2001 From: Chris Robinson Date: Mon, 16 Apr 2012 22:11:03 -0700 Subject: Use a double to store the source offset and don't use milliseconds for seconds --- OpenAL32/alState.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'OpenAL32/alState.c') 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); -- cgit v1.2.3