From 0558bde1e61374f5a1b54453f07fe6cc15525bc1 Mon Sep 17 00:00:00 2001 From: roeming Date: Fri, 20 Feb 2026 05:48:29 -0500 Subject: Big cast cleanup (#3076) * Big cast cleanup * fix for name conflict * rename header * rename cast macros * fix rename mistake --------- Co-authored-by: roeming --- src/d/actor/d_a_mant.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/d/actor/d_a_mant.cpp') 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(); -- cgit v1.2.3