aboutsummaryrefslogtreecommitdiffstats
path: root/alc/alu.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'alc/alu.cpp')
-rw-r--r--alc/alu.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/alc/alu.cpp b/alc/alu.cpp
index 8964a515..9f0c7ce5 100644
--- a/alc/alu.cpp
+++ b/alc/alu.cpp
@@ -1334,7 +1334,7 @@ void CalcAttnSourceParams(Voice *voice, const VoiceProps *props, const ALCcontex
alu::Vector Position{props->Position[0], props->Position[1], props->Position[2], 1.0f};
alu::Vector Velocity{props->Velocity[0], props->Velocity[1], props->Velocity[2], 0.0f};
alu::Vector Direction{props->Direction[0], props->Direction[1], props->Direction[2], 0.0f};
- if(props->HeadRelative == AL_FALSE)
+ if(!props->HeadRelative)
{
/* Transform source vectors */
Position = Listener.Params.Matrix * Position;