From ee5ff943f35b9332562d9a433fae825361313dfb Mon Sep 17 00:00:00 2001 From: Chris Robinson Date: Wed, 31 Aug 2011 13:36:47 -0700 Subject: [PATCH] Fix a potential infinite loop when removing an effect slot --- OpenAL32/alAuxEffectSlot.c | 1 + 1 file changed, 1 insertion(+) diff --git a/OpenAL32/alAuxEffectSlot.c b/OpenAL32/alAuxEffectSlot.c index 06eb629..a7a0504 100644 --- a/OpenAL32/alAuxEffectSlot.c +++ b/OpenAL32/alAuxEffectSlot.c @@ -495,6 +495,7 @@ static ALvoid RemoveEffectSlotArray(ALCcontext *Context, ALeffectslot *slot) Context->ActiveEffectSlotCount--; break; } + slotlist++; } }