diff options
| author | roeming <brother64youyou@gmail.com> | 2026-02-20 05:48:29 -0500 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2026-02-20 02:48:29 -0800 |
| commit | 0558bde1e61374f5a1b54453f07fe6cc15525bc1 (patch) | |
| tree | c1ba397dbde72c71a58a0f15e895aad540b25768 /src/d/actor/d_a_npc_ne.cpp | |
| parent | 95c3626771d589bb8323eb81cf740ecd23e379b5 (diff) | |
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>
Diffstat (limited to 'src/d/actor/d_a_npc_ne.cpp')
| -rw-r--r-- | src/d/actor/d_a_npc_ne.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/d/actor/d_a_npc_ne.cpp b/src/d/actor/d_a_npc_ne.cpp index 414022d377..a02e60a4e3 100644 --- a/src/d/actor/d_a_npc_ne.cpp +++ b/src/d/actor/d_a_npc_ne.cpp @@ -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) { |
