aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--alc/alu.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/alc/alu.cpp b/alc/alu.cpp
index 60c8e8e2..32c52526 100644
--- a/alc/alu.cpp
+++ b/alc/alu.cpp
@@ -1326,7 +1326,7 @@ void ProcessParamUpdates(ALCcontext *ctx, const ALeffectslotArray &slots,
auto calc_params = [ctx,force](ALvoice &voice) -> void
{
- if(ALuint sid{voice.mSourceID.load(std::memory_order_acquire)})
+ if(voice.mSourceID.load(std::memory_order_acquire) != 0)
CalcSourceParams(&voice, ctx, force);
};
std::for_each(voices.begin(), voices.end(), calc_params);