diff options
| author | hatal175 <hatal175@users.noreply.github.com> | 2025-06-06 01:17:38 +0300 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-06-05 15:17:38 -0700 |
| commit | 357de95e41746f1719ebc57bfd3e10007b168b5c (patch) | |
| tree | 33997cac7fff114aabbf5a0d6c3b4645eacb4f12 /src/SSystem | |
| parent | 2671e02784dc53652e2138b4dfbfbad88018abaa (diff) | |
d_a_obj_flag Matching (#2477)
* d_a_obj_flag Matching
* Formatting
Diffstat (limited to 'src/SSystem')
| -rw-r--r-- | src/SSystem/SComponent/c_lib.cpp | 2 |
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; |
