summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorYunataSavior <58997725+YunataSavior@users.noreply.github.com>2025-10-04 12:34:09 -0700
committerGitHub <noreply@github.com>2025-10-04 12:34:09 -0700
commitc3cd59510787cd096ae8e3fb6feed386809f99f9 (patch)
tree21b64ff0421a61a0ab6c1cb4aeb30ce5ade30957 /src
parent0c058d2a2c0ed11c93e07e4faa90b34ffe91a09a (diff)
e_mk_bo OK (#2724)
Diffstat (limited to 'src')
-rw-r--r--src/d/actor/d_a_e_mk_bo.cpp9
1 files changed, 4 insertions, 5 deletions
diff --git a/src/d/actor/d_a_e_mk_bo.cpp b/src/d/actor/d_a_e_mk_bo.cpp
index a1b3c4b196..2bcf824960 100644
--- a/src/d/actor/d_a_e_mk_bo.cpp
+++ b/src/d/actor/d_a_e_mk_bo.cpp
@@ -556,7 +556,6 @@ static void action(e_mk_bo_class* i_this) {
}
/* 8071E8A4-8071EECC 001CA4 0628+00 2/1 0/0 0/0 .text daE_MK_BO_Execute__FP13e_mk_bo_class */
-// NONMATCHING - regalloc on retail
static int daE_MK_BO_Execute(e_mk_bo_class* i_this) {
fopAc_ac_c* actor = &i_this->enemy;
cXyz sp64;
@@ -591,10 +590,10 @@ static int daE_MK_BO_Execute(e_mk_bo_class* i_this) {
cLib_addCalcAngleS2(&i_this->field_0x5fa, actor->current.angle.y, 4, 0x1000);
mDoMtx_stack_c::transS(actor->current.pos.x, actor->current.pos.y, actor->current.pos.z);
- mDoMtx_stack_c::YrotM(i_this->field_0x5fa);
- mDoMtx_stack_c::ZrotM(actor->shape_angle.z);
- mDoMtx_stack_c::YrotM(actor->shape_angle.y);
- mDoMtx_stack_c::XrotM(actor->shape_angle.x);
+ mDoMtx_stack_c::YrotM(s16(i_this->field_0x5fa));
+ mDoMtx_stack_c::ZrotM(s16(actor->shape_angle.z));
+ mDoMtx_stack_c::YrotM(s16(actor->shape_angle.y));
+ mDoMtx_stack_c::XrotM(s16(actor->shape_angle.x));
fopAc_ac_c* a_parent = fopAcM_SearchByID(actor->parentActorID);
if (a_parent == NULL) {