summaryrefslogtreecommitdiff
path: root/src/d/actor/d_a_e_po.cpp
diff options
context:
space:
mode:
authorLagoLunatic <LagoLunatic@users.noreply.github.com>2025-11-10 21:25:00 -0500
committerGitHub <noreply@github.com>2025-11-10 18:25:00 -0800
commit23a1c940630435eaa0bbca45fb24156fc0d3db62 (patch)
treec2b05e860562425bd3147046e19bcf8130ad4625 /src/d/actor/d_a_e_po.cpp
parenta02f72d8f3a87a2d2ddde062301d3639050e1e35 (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_po.cpp')
-rw-r--r--src/d/actor/d_a_e_po.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/d/actor/d_a_e_po.cpp b/src/d/actor/d_a_e_po.cpp
index 67e0a930a0..d4278bc765 100644
--- a/src/d/actor/d_a_e_po.cpp
+++ b/src/d/actor/d_a_e_po.cpp
@@ -1006,7 +1006,7 @@ static void e_po_dead(e_po_class* i_this) {
}
break;
- case 4:
+ case 4: {
J3DModel* model_p = i_this->mpMorf3->getModel();
for (i = 0; i < 4; i++) {
i_this->mParticleKeys[i] =
@@ -1051,7 +1051,7 @@ static void e_po_dead(e_po_class* i_this) {
i_this->field_0x788.y = i_this->mAcch.GetGroundH();
}
}
-
+ }
case 6:
if (i_this->field_0x74A[0] == 0) {
local_100 = a_this->current.pos - i_this->field_0x788;
@@ -2128,7 +2128,7 @@ static void e_po_holl_demo(e_po_class* i_this) {
i_this->mType = 22;
// Fallthrough
- case 22:
+ case 22: {
if (mArg0Check(i_this, 7) != 0) {
cLib_addCalcPos(&i_this->field_0x844, mKcenterInit_dt[9], 0.5f, 20.0f, 10.0f);
cLib_addCalcPos(&i_this->field_0x838, mKeyeInit_dt[9], 0.5f, 20.0f, 10.0f);
@@ -2166,7 +2166,7 @@ static void e_po_holl_demo(e_po_class* i_this) {
i_this->field_0x7E2 = 0;
i_this->mType = 23;
// Fallthrough
-
+ }
case 23:
if (mHollDemoFlag < 24) {
i_this->field_0x74A[2] = 10;