d_a_obj_flag Matching (#2477)

* d_a_obj_flag Matching

* Formatting
This commit is contained in:
hatal175
2025-06-06 01:17:38 +03:00
committed by GitHub
parent 2671e02784
commit 357de95e41
7 changed files with 121 additions and 119 deletions
+1 -1
View File
@@ -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;