From 5ee9cb5f65deb18c4539456bcfcce78d214d064b Mon Sep 17 00:00:00 2001 From: DanTGL <33489389+DanTGL@users.noreply.github.com> Date: Wed, 26 Jun 2024 21:52:04 +0200 Subject: [PATCH] d_a_msw minor tweak --- src/d/actor/d_a_msw.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/d/actor/d_a_msw.cpp b/src/d/actor/d_a_msw.cpp index a2294d605..630319679 100644 --- a/src/d/actor/d_a_msw.cpp +++ b/src/d/actor/d_a_msw.cpp @@ -56,12 +56,11 @@ void ride_call_back(dBgW* bgw, fopAc_ac_c* i_ac, fopAc_ac_c* i_pt) { /* 00000310-00000540 .text chain_Draw__FP9msw_class */ void chain_Draw(msw_class* i_this) { - cXyz tmp; s16 angle1; s32 angle2; for (int i = 0; i < 4; i++) { - tmp = i_this->m310[i] - i_this->m2E0[i]; + cXyz tmp = i_this->m310[i] - i_this->m2E0[i]; angle1 = -cM_atan2s(tmp.y, tmp.z); // TODO: std::sqrtf(float)