aboutsummaryrefslogtreecommitdiffstats
path: root/Alc/ALu.c
diff options
context:
space:
mode:
Diffstat (limited to 'Alc/ALu.c')
-rw-r--r--Alc/ALu.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Alc/ALu.c b/Alc/ALu.c
index 0697e943..c02b0fdc 100644
--- a/Alc/ALu.c
+++ b/Alc/ALu.c
@@ -717,7 +717,7 @@ ALvoid CalcSourceParams(ALsource *ALSource, const ALCcontext *ALContext)
// the listener. This prevents +0 and -0 Z from producing
// inconsistent panning.
ev = aluAsin(Position[1]);
- az = atan2(Position[0], -Position[2]*ZScale);
+ az = aluAtan2(Position[0], -Position[2]*ZScale);
}
// Check to see if the HRIR is already moving.