Resolve all "illegal jump past declaration/initializer" warnings (#2911)

* resolve illegal jump past declaration/initializer

* pr comments
This commit is contained in:
Niklas Bauer
2025-12-04 13:57:33 +01:00
committed by GitHub
parent f97d334732
commit 4d3f25d34e
53 changed files with 320 additions and 241 deletions
+2 -1
View File
@@ -97,7 +97,7 @@ int daScExit_c::demoProc() {
if (dComIfGp_evmng_getIsAddvance(mStaffID)) {
switch (act_id) {
case WAIT_e:
case WAIT_e: {
int* timer_p = dComIfGp_evmng_getMyIntegerP(mStaffID, "Timer");
if (timer_p == NULL) {
@@ -106,6 +106,7 @@ int daScExit_c::demoProc() {
mTimer = *timer_p;
}
break;
}
case START_e:
fopAcM_seStart(this, Z2SE_SY_WARP_FADE, 0);
attention_info.position.y = current.pos.y + 800.0f;