Don't break with an override root key generator value of -1

An accidental hold-over from when it was using a switch.
This commit is contained in:
Chris Robinson 2014-01-06 13:21:08 -08:00
parent cf66516a27
commit da2c9732da

View File

@ -875,7 +875,7 @@ static void fillZone(ALfontsound *sound, ALCcontext *context, const GenModList *
if(param)
{
if(param == AL_BASE_KEY_SOFT && value == -1)
break;
continue;
if(param == AL_FILTER_RESONANCE_SOFT || param == AL_ATTENUATION_SOFT)
value = maxi(0, value);
else if(param == AL_CHORUS_SEND_SOFT || param == AL_REVERB_SEND_SOFT)