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_e_bug.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_e_bug.cpp')
| -rw-r--r-- | src/d/actor/d_a_e_bug.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/d/actor/d_a_e_bug.cpp b/src/d/actor/d_a_e_bug.cpp index d31174a14e..c58787169d 100644 --- a/src/d/actor/d_a_e_bug.cpp +++ b/src/d/actor/d_a_e_bug.cpp @@ -517,7 +517,7 @@ static void normal_move(e_bug_class* a_this, bug_s* i_this) { cLib_addCalcAngleS2(&i_this->field_0x3c.y, i_this->field_0x42 + (sVar1 + cM_atan2s(sp74.x, sp74.z)), 2, 0x800); i_this->field_0x3c.x = 0; } else { - i_this->field_0x3c.x += (s16)((i_this->field_0x8 << 1) + 0xE00); + ANGLE_ADD(i_this->field_0x3c.x, (i_this->field_0x8 << 1) + 0xE00); } i_this->field_0x30.x = i_this->field_0x24 * cM_ssin(i_this->field_0x3c.y); |
