From ac05863f729d46e6173724a3464f81aafc1b3d1e Mon Sep 17 00:00:00 2001 From: Chris Robinson Date: Sun, 6 Jun 2010 00:21:13 -0700 Subject: Make sure the effectslot map is properly initialized --- Alc/ALc.c | 1 + 1 file changed, 1 insertion(+) diff --git a/Alc/ALc.c b/Alc/ALc.c index 3c4880bd..d4c1ad9f 100644 --- a/Alc/ALc.c +++ b/Alc/ALc.c @@ -894,6 +894,7 @@ static ALvoid InitContext(ALCcontext *pContext) pContext->Suspended = AL_FALSE; pContext->ActiveSourceCount = 0; InitUIntMap(&pContext->SourceMap); + InitUIntMap(&pContext->EffectSlotMap); //Set globals pContext->DistanceModel = AL_INVERSE_DISTANCE_CLAMPED; -- cgit v1.2.3