summaryrefslogtreecommitdiff
path: root/src/SSystem/SComponent/c_lib.cpp
diff options
context:
space:
mode:
authorLagoLunatic <LagoLunatic@users.noreply.github.com>2024-08-07 12:55:30 -0400
committerLagoLunatic <LagoLunatic@users.noreply.github.com>2024-08-07 12:55:30 -0400
commitd287e79ab0e87d46ee9ba9929060ec142510f4b0 (patch)
tree0ac4a2bc6522b587de5547445918bb6f40e00c5a /src/SSystem/SComponent/c_lib.cpp
parentd2b9d15efb7554f1c7e73c8b71e89c9d48658274 (diff)
Move abs and fabsf to std namespace
Diffstat (limited to 'src/SSystem/SComponent/c_lib.cpp')
-rw-r--r--src/SSystem/SComponent/c_lib.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/SSystem/SComponent/c_lib.cpp b/src/SSystem/SComponent/c_lib.cpp
index 56f48ba2..338eef7c 100644
--- a/src/SSystem/SComponent/c_lib.cpp
+++ b/src/SSystem/SComponent/c_lib.cpp
@@ -50,7 +50,7 @@ f32 cLib_addCalc(f32* pValue, f32 target, f32 scale, f32 maxStep, f32 minStep) {
}
}
}
- return fabsf(target - *pValue);
+ return std::fabsf(target - *pValue);
}
/* 802529A4-802529E8 .text cLib_addCalc2__FPffff */