From da2c9732da4c08810b8245fc3e698b4645129fc3 Mon Sep 17 00:00:00 2001 From: Chris Robinson Date: Mon, 6 Jan 2014 13:21:08 -0800 Subject: Don't break with an override root key generator value of -1 An accidental hold-over from when it was using a switch. --- Alc/midi/sf2load.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Alc/midi/sf2load.c') diff --git a/Alc/midi/sf2load.c b/Alc/midi/sf2load.c index a56a701c..7f979f83 100644 --- a/Alc/midi/sf2load.c +++ b/Alc/midi/sf2load.c @@ -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) -- cgit v1.2.3