summaryrefslogtreecommitdiff
path: root/src/d/actor/d_a_e_th.cpp
diff options
context:
space:
mode:
authorNiklas Bauer <nikbau2000@gmail.com>2025-12-04 13:57:33 +0100
committerGitHub <noreply@github.com>2025-12-04 14:57:33 +0200
commit4d3f25d34ed0782ba693c80698631cac6add8f9c (patch)
tree451ac21c47ff2243e5741fb23708a22450bcff78 /src/d/actor/d_a_e_th.cpp
parentf97d334732201e5a8e1250318925c90d0c715225 (diff)
Resolve all "illegal jump past declaration/initializer" warnings (#2911)
* resolve illegal jump past declaration/initializer * pr comments
Diffstat (limited to 'src/d/actor/d_a_e_th.cpp')
-rw-r--r--src/d/actor/d_a_e_th.cpp5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/d/actor/d_a_e_th.cpp b/src/d/actor/d_a_e_th.cpp
index 9d1c8eac45..979d2d6ed4 100644
--- a/src/d/actor/d_a_e_th.cpp
+++ b/src/d/actor/d_a_e_th.cpp
@@ -818,13 +818,13 @@ static void demo_camera(e_th_class* i_this) {
}
}
break;
- case 10:
+ case 10: {
if (!i_this->eventInfo.checkCommandDemoAccrpt()) {
fopAcM_orderPotentialEvent(i_this, 2, 0xFFFF, 0);
i_this->eventInfo.onCondition(2);
return;
}
-
+
camera->mCamera.Stop();
i_this->mDemoCamMode = 11;
i_this->mDemoCamTimer = 0;
@@ -864,6 +864,7 @@ static void demo_camera(e_th_class* i_this) {
anm_init(i_this, 0xE, 2.0f, 0, 1.0f);
i_this->mMode = 1;
dComIfGs_onSaveSwitch(94);
+ }
case 11:
if (i_this->mDemoCamTimer == 55 && i_this->field_0x567 != 0) {
daPy_getPlayerActorClass()->changeDemoMode(0x17, 1, 2, 0);