diff options
Diffstat (limited to 'al/effect.cpp')
-rw-r--r-- | al/effect.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/al/effect.cpp b/al/effect.cpp index bde89912..28f5e967 100644 --- a/al/effect.cpp +++ b/al/effect.cpp @@ -548,6 +548,9 @@ void InitEffect(ALeffect *effect) EffectSubList::~EffectSubList() { + if(!Effects) + return; + uint64_t usemask{~FreeMask}; while(usemask) { |