summaryrefslogtreecommitdiff
path: root/src/d/actor/d_a_e_tk2.cpp
diff options
context:
space:
mode:
authorroeming <brother64youyou@gmail.com>2026-02-20 05:48:29 -0500
committerGitHub <noreply@github.com>2026-02-20 02:48:29 -0800
commit0558bde1e61374f5a1b54453f07fe6cc15525bc1 (patch)
treec1ba397dbde72c71a58a0f15e895aad540b25768 /src/d/actor/d_a_e_tk2.cpp
parent95c3626771d589bb8323eb81cf740ecd23e379b5 (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_tk2.cpp')
-rw-r--r--src/d/actor/d_a_e_tk2.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/d/actor/d_a_e_tk2.cpp b/src/d/actor/d_a_e_tk2.cpp
index 4d2b62d295..b28faa1b9b 100644
--- a/src/d/actor/d_a_e_tk2.cpp
+++ b/src/d/actor/d_a_e_tk2.cpp
@@ -242,7 +242,7 @@ static void e_tk2_find(e_tk2_class* i_this) {
break;
case MODE_TK2_SWIM:
- ADD_ANGLE(i_this->mPlayerAngleY, 0x8000);
+ ANGLE_ADD(i_this->mPlayerAngleY, 0x8000);
i_this->mAttentionOFF = true;
if (i_this->mpMorf->isStop()) {
i_this->mAnimSpeed = 4.0f;
@@ -268,7 +268,7 @@ static void e_tk2_find(e_tk2_class* i_this) {
}
}
if (i_this->mActionTimer[1] == 0) {
- ADD_ANGLE(i_this->mPlayerAngleY, 0x8000);
+ ANGLE_ADD(i_this->mPlayerAngleY, 0x8000);
} else {
i_this->mPlayerAngleY = i_this->mSomeAngle;
}