Fix a potential infinite loop when removing an effect slot

This commit is contained in:
Chris Robinson 2011-08-31 13:36:47 -07:00
parent b28f48c1bd
commit ee5ff943f3

View File

@ -495,6 +495,7 @@ static ALvoid RemoveEffectSlotArray(ALCcontext *Context, ALeffectslot *slot)
Context->ActiveEffectSlotCount--; Context->ActiveEffectSlotCount--;
break; break;
} }
slotlist++;
} }
} }