diff options
| author | LagoLunatic <LagoLunatic@users.noreply.github.com> | 2025-11-10 21:25:00 -0500 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-11-10 18:25:00 -0800 |
| commit | 23a1c940630435eaa0bbca45fb24156fc0d3db62 (patch) | |
| tree | c2b05e860562425bd3147046e19bcf8130ad4625 /src/d/actor/d_a_e_dn.cpp | |
| parent | a02f72d8f3a87a2d2ddde062301d3639050e1e35 (diff) | |
Regalloc/debug/misc fixes (#2794)
* Fix "0" asserts
* More debug and regalloc fixes
* Fix PTMF syntax for compatibility with other compilers
* Fix some fakematches, link more TUs for J/P
Diffstat (limited to 'src/d/actor/d_a_e_dn.cpp')
| -rw-r--r-- | src/d/actor/d_a_e_dn.cpp | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/src/d/actor/d_a_e_dn.cpp b/src/d/actor/d_a_e_dn.cpp index 1e16c3f5fe..3346926770 100644 --- a/src/d/actor/d_a_e_dn.cpp +++ b/src/d/actor/d_a_e_dn.cpp @@ -2947,7 +2947,6 @@ int c_start; /* 804ECB50-804ED83C 007A90 0CEC+00 2/1 0/0 0/0 .text daE_DN_Execute__FP10e_dn_class */ static int daE_DN_Execute(e_dn_class* i_this) { - // NONMATCHING if (i_this->field_0x10d8 != 0) { return 1; } @@ -3181,8 +3180,7 @@ static int daE_DN_Execute(e_dn_class* i_this) { def_se_set(&i_this->mSound, i_this->field_0xf7c.GetTgHitObj(), 40, 0); dScnPly_c::setPauseTimer(l_HIO.field_0x1c); i_this->field_0x6ec = 10; - // The following s16 cast makes ALL the difference in terms of regalloc! - cMtx_YrotS(*calc_mtx, (s16) a_this->shape_angle.y); + cMtx_YrotS(*calc_mtx, (s16)a_this->shape_angle.y); sp2c.x = KREG_F(0); sp2c.y = 120.0f + KREG_F(1); sp2c.z = 50.0f + KREG_F(2); |
