From 8d0c4ccb3b128348446f67b2e2895e51230d27b5 Mon Sep 17 00:00:00 2001 From: Chris Robinson Date: Fri, 13 Mar 2009 02:12:45 -0700 Subject: The room rolloff factor can go up to 10 --- OpenAL32/alSource.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'OpenAL32') diff --git a/OpenAL32/alSource.c b/OpenAL32/alSource.c index f1ce4e85..c20f3a97 100644 --- a/OpenAL32/alSource.c +++ b/OpenAL32/alSource.c @@ -359,7 +359,7 @@ ALAPI ALvoid ALAPIENTRY alSourcef(ALuint source, ALenum eParam, ALfloat flValue) break; case AL_ROOM_ROLLOFF_FACTOR: - if (flValue >= 0.0f && flValue <= 1.0f) + if (flValue >= 0.0f && flValue <= 10.0f) pSource->RoomRolloffFactor = flValue; else alSetError(AL_INVALID_VALUE); -- cgit v1.2.3