diff options
Diffstat (limited to 'Alc/mixer.c')
-rw-r--r-- | Alc/mixer.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Alc/mixer.c b/Alc/mixer.c index 0181a31a..8b3c754e 100644 --- a/Alc/mixer.c +++ b/Alc/mixer.c @@ -251,7 +251,7 @@ static void Mix_Hrtf_##T##_##sampler(ALsource *Source, ALCdevice *Device, \ ALfloat *RESTRICT WetPendingClicks; \ FILTER *WetFilter; \ \ - if(!Slot || Slot->effect.type == AL_EFFECT_NULL) \ + if(Slot == NULL) \ continue; \ \ WetBuffer = Slot->WetBuffer; \ @@ -381,7 +381,7 @@ static void Mix_##T##_##sampler(ALsource *Source, ALCdevice *Device, \ ALfloat *WetPendingClicks; \ FILTER *WetFilter; \ \ - if(!Slot || Slot->effect.type == AL_EFFECT_NULL) \ + if(Slot == NULL) \ continue; \ \ WetBuffer = Slot->WetBuffer; \ |