From 0b6bb762597cec700ed42c4931514f7879bd3e99 Mon Sep 17 00:00:00 2001 From: Chris Robinson Date: Tue, 20 Jan 2015 16:42:23 -0800 Subject: Fix variable check --- 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 e9547462..8a54844a 100644 --- a/Alc/midi/sf2load.c +++ b/Alc/midi/sf2load.c @@ -750,7 +750,7 @@ static void fillZone(ALfontsound *sound, ALCcontext *context, const GenModList * dst == AL_BASE_KEY_SOFT) ERR("Unhandled modulator destination: %d\n", mod->mDstOp); else if(src0in != AL_INVALID && src0form != AL_INVALID && src0type != AL_INVALID && - src1in != AL_INVALID && src1form != AL_INVALID && src0type != AL_INVALID && + src1in != AL_INVALID && src1form != AL_INVALID && src1type != AL_INVALID && trans != AL_INVALID) { ALsizei idx = (ALsizei)(mod - VECTOR_ITER_BEGIN(zone->mods)); -- cgit v1.2.3