Big cast cleanup (#3076)

* Big cast cleanup

* fix for name conflict

* rename header

* rename cast macros

* fix rename mistake

---------

Co-authored-by: roeming <roeming@users.noreply.github.com>
This commit is contained in:
roeming
2026-02-20 05:48:29 -05:00
committed by GitHub
parent 979afc7c59
commit 07ef4b6d26
138 changed files with 516 additions and 470 deletions
+1 -1
View File
@@ -615,7 +615,7 @@ static void npc_ne_away(npc_ne_class* i_this) {
way_check(i_this, i_this->mTargetAngleY);
}
if (i_this->mTimers[0] == 0) {
i_this->mTargetAngleY += (s16)cM_rndFX(4000.0f);
ANGLE_ADD(i_this->mTargetAngleY, cM_rndFX(4000.0f));
i_this->mTimers[0] = cM_rndF(25.0f) + 20.0f;
}
if (i_this->mDistToTarget > 400.0f && i_this->mTimers[2] == 0) {