aboutsummaryrefslogtreecommitdiffstats
path: root/core/effectslot.h
diff options
context:
space:
mode:
Diffstat (limited to 'core/effectslot.h')
-rw-r--r--core/effectslot.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/effectslot.h b/core/effectslot.h
index affbccb0..2624ae5f 100644
--- a/core/effectslot.h
+++ b/core/effectslot.h
@@ -68,7 +68,7 @@ struct EffectSlot {
EffectSlotType EffectType{EffectSlotType::None};
EffectProps mEffectProps{};
- EffectState *mEffectState{nullptr};
+ al::intrusive_ptr<EffectState> mEffectState;
float RoomRolloff{0.0f}; /* Added to the source's room rolloff, not multiplied. */
float DecayTime{0.0f};