summaryrefslogtreecommitdiff
path: root/src/code/code_800FCE80.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/code/code_800FCE80.c')
-rw-r--r--src/code/code_800FCE80.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/code/code_800FCE80.c b/src/code/code_800FCE80.c
index 17b2bc4e5..8ac46833d 100644
--- a/src/code/code_800FCE80.c
+++ b/src/code/code_800FCE80.c
@@ -50,8 +50,8 @@ f32 Math_FAtanTaylorQF(f32 x) {
if (poly + term == poly) {
break;
}
- poly = poly + term;
- exp = exp * sq;
+ poly += term;
+ exp *= sq;
}
return poly;