aboutsummaryrefslogtreecommitdiffstats
path: root/al/effect.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'al/effect.cpp')
-rw-r--r--al/effect.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/al/effect.cpp b/al/effect.cpp
index 3cfccaa3..029ecaa8 100644
--- a/al/effect.cpp
+++ b/al/effect.cpp
@@ -72,7 +72,7 @@ const EffectList gEffectList[16]{
bool DisabledEffects[MAX_EFFECTS];
-effect_exception::effect_exception(ALenum code, const char *msg, ...) : base_exception{code}
+effect_exception::effect_exception(ALenum code, const char *msg, ...) : mErrorCode{code}
{
std::va_list args;
va_start(args, msg);