changeset 2515 | 51d3f4b6293a |
parent 2494 | 1e10a47cabea |
child 2529 | 51e5df1c8462 |
--- 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]);