aboutsummaryrefslogtreecommitdiffstats
path: root/al/event.cpp
diff options
context:
space:
mode:
authorChris Robinson <[email protected]>2022-12-08 06:22:55 -0800
committerChris Robinson <[email protected]>2022-12-08 06:22:55 -0800
commitb0be3bf883c147a87840b880a6b0a8db36333b6a (patch)
treea1c8bef78fe66a3d431609f3d3ffd3616790282e /al/event.cpp
parent4c2a96e2c856c07aead4ea5679d27310743b45ae (diff)
Rename a potentially confusing member function
Diffstat (limited to 'al/event.cpp')
-rw-r--r--al/event.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/al/event.cpp b/al/event.cpp
index 1ec404da..8765e79b 100644
--- a/al/event.cpp
+++ b/al/event.cpp
@@ -59,7 +59,7 @@ static int EventThread(ALCcontext *context)
if(evt.EnumType == AsyncEvent::ReleaseEffectState)
{
- evt.u.mEffectState->release();
+ al::intrusive_ptr<EffectState>{evt.u.mEffectState};
continue;
}