diff -r df9d0728c5bb -r 51d3f4b6293a openalbridge/wrappers.c --- a/openalbridge/wrappers.c Fri Oct 16 22:46:58 2009 +0000 +++ b/openalbridge/wrappers.c Sat Oct 17 01:28:49 2009 +0000 @@ -93,7 +93,7 @@ /*save the volume desired after the fade*/ alGetSourcef(Sources[index], AL_GAIN, &target_gain); - if (target_gain > 1.0f || target_gain <= 0.0f) + if (target_gain > 1.0f || target_gain < 0.0f) target_gain = 1.0f; alSourcePlay(Sources[index]);