diff options
Diffstat (limited to 'src/code/sys_math_atan.c')
| -rw-r--r-- | src/code/sys_math_atan.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/code/sys_math_atan.c b/src/code/sys_math_atan.c index 21152c9f2..4e346da4e 100644 --- a/src/code/sys_math_atan.c +++ b/src/code/sys_math_atan.c @@ -131,5 +131,5 @@ s16 Math_Atan2S(f32 x, f32 y) { } f32 Math_Atan2F(f32 x, f32 y) { - return Math_Atan2S(x, y) * (M_PI / 32768.0f); + return BINANG_TO_RAD(Math_Atan2S(x, y)); } |
