diff options
author | Chris Robinson <[email protected]> | 2018-11-19 22:34:26 -0800 |
---|---|---|
committer | Chris Robinson <[email protected]> | 2018-11-19 22:34:26 -0800 |
commit | 8472a9d916eae13771455c2b527c1148aa71d8fb (patch) | |
tree | d86470a5e2882ce73a86a892eac7082bd2b97566 /OpenAL32/event.cpp | |
parent | 6ac84c7a5f6d267522bdc872802c8940dcd2adec (diff) |
Use proper inheritence for the effect state objects
Diffstat (limited to 'OpenAL32/event.cpp')
-rw-r--r-- | OpenAL32/event.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
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; } |