aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChris Robinson <[email protected]>2011-08-31 13:36:47 -0700
committerChris Robinson <[email protected]>2011-08-31 13:36:47 -0700
commitee5ff943f35b9332562d9a433fae825361313dfb (patch)
treebd06fe4570f230945b9331a69bcb85919d518bcc
parentb28f48c1bdf343ecc0a3e1dbed958b13fbba32e7 (diff)
Fix a potential infinite loop when removing an effect slot
-rw-r--r--OpenAL32/alAuxEffectSlot.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/OpenAL32/alAuxEffectSlot.c b/OpenAL32/alAuxEffectSlot.c
index 06eb629f..a7a0504b 100644
--- a/OpenAL32/alAuxEffectSlot.c
+++ b/OpenAL32/alAuxEffectSlot.c
@@ -495,6 +495,7 @@ static ALvoid RemoveEffectSlotArray(ALCcontext *Context, ALeffectslot *slot)
Context->ActiveEffectSlotCount--;
break;
}
+ slotlist++;
}
}