aboutsummaryrefslogtreecommitdiffstats
path: root/Alc
diff options
context:
space:
mode:
authorChris Robinson <[email protected]>2014-01-06 13:21:08 -0800
committerChris Robinson <[email protected]>2014-01-06 13:21:08 -0800
commitda2c9732da4c08810b8245fc3e698b4645129fc3 (patch)
treea573669d963d04eb41f2af995d1217a1af5d0153 /Alc
parentcf66516a27086e35a2caa0049fc47334516a7f7f (diff)
Don't break with an override root key generator value of -1
An accidental hold-over from when it was using a switch.
Diffstat (limited to 'Alc')
-rw-r--r--Alc/midi/sf2load.c2
1 files changed, 1 insertions, 1 deletions
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)