From 8472a9d916eae13771455c2b527c1148aa71d8fb Mon Sep 17 00:00:00 2001 From: Chris Robinson Date: Mon, 19 Nov 2018 22:34:26 -0800 Subject: Use proper inheritence for the effect state objects --- OpenAL32/event.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'OpenAL32/event.cpp') diff --git a/OpenAL32/event.cpp b/OpenAL32/event.cpp index 1dc2745f..d6fa01fb 100644 --- a/OpenAL32/event.cpp +++ b/OpenAL32/event.cpp @@ -34,7 +34,7 @@ static int EventThread(ALCcontext *context) if(evt.EnumType == EventType_ReleaseEffectState) { - ALeffectState_DecRef(evt.u.EffectState); + evt.u.mEffectState->DecRef(); continue; } -- cgit v1.2.3