Fix a potential infinite loop when removing an effect slot
This commit is contained in:
parent
b28f48c1bd
commit
ee5ff943f3
@ -495,6 +495,7 @@ static ALvoid RemoveEffectSlotArray(ALCcontext *Context, ALeffectslot *slot)
|
|||||||
Context->ActiveEffectSlotCount--;
|
Context->ActiveEffectSlotCount--;
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
slotlist++;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user