summaryrefslogtreecommitdiff
path: root/src/d/actor/d_a_mant.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_mant.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_mant.cpp')
-rw-r--r--src/d/actor/d_a_mant.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/d/actor/d_a_mant.cpp b/src/d/actor/d_a_mant.cpp
index a65520e4da..12d4db275f 100644
--- a/src/d/actor/d_a_mant.cpp
+++ b/src/d/actor/d_a_mant.cpp
@@ -425,7 +425,7 @@ static void joint_control(mant_class* i_this, mant_j_s* param_2, int param_3, f3
sp08 *= -1;
}
- sp08 *= (s16)(-4000 + VREG_S(5));
+ ANGLE_MULT(sp08, -4000 + VREG_S(5));
spFC.x = 0.0f;
spFC.y = 0.0f;
spFC.z = i_this->field_0x394c;
@@ -438,7 +438,7 @@ static void joint_control(mant_class* i_this, mant_j_s* param_2, int param_3, f3
spB4 = spC0 * (d_p[sp34 - 1] + NREG_F(sp34));
sp18 = i_this->field_0x3958;
- sp18 *= 1.0f + VREG_F(0) - sp34 * (0.07f + VREG_F(1));
+ sp18 *= 1.0f + VREG_F(0) - sp34 * (0.07f + VREG_F(1));
sp84.zero();