summaryrefslogtreecommitdiff
path: root/src/SSystem/SComponent/c_lib.cpp
diff options
context:
space:
mode:
authorhatal175 <hatal175@users.noreply.github.com>2025-06-06 01:17:38 +0300
committerGitHub <noreply@github.com>2025-06-05 15:17:38 -0700
commit357de95e41746f1719ebc57bfd3e10007b168b5c (patch)
tree33997cac7fff114aabbf5a0d6c3b4645eacb4f12 /src/SSystem/SComponent/c_lib.cpp
parent2671e02784dc53652e2138b4dfbfbad88018abaa (diff)
d_a_obj_flag Matching (#2477)
* d_a_obj_flag Matching * Formatting
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 16fd52e15d..482c23b58b 100644
--- a/src/SSystem/SComponent/c_lib.cpp
+++ b/src/SSystem/SComponent/c_lib.cpp
@@ -242,7 +242,7 @@ void cLib_addCalcPosXZ2(cXyz* ppos, const cXyz& target, f32 scale, f32 maxStep)
* @param minStep Minimum step amount
* @return The remaining distance to target
*/
-s16 cLib_addCalcAngleS(s16* pvalue, s16 target, s16 scale, s16 maxStep, s16 minStep) {
+s16 cLib_addCalcAngleS(s16* pvalue, s16 target, const s16 scale, s16 maxStep, s16 minStep) {
s16 diff = target - *pvalue;
if (*pvalue != target) {
s16 step = (diff) / scale;