mirror of
https://github.com/TwilitRealm/dusklight
synced 2026-08-16 20:27:36 -04:00
Resolve all "illegal jump past declaration/initializer" warnings (#2911)
* resolve illegal jump past declaration/initializer * pr comments
This commit is contained in:
@@ -765,7 +765,7 @@ void daObjRgate_c::demoProc() {
|
||||
|
||||
if (dComIfGp_evmng_getIsAddvance(mStaffID)) {
|
||||
switch (demo_action) {
|
||||
case DEMO_ACT_WAIT:
|
||||
case DEMO_ACT_WAIT: {
|
||||
int* timer_p = dComIfGp_evmng_getMyIntegerP(mStaffID, "Timer");
|
||||
if (timer_p == NULL) {
|
||||
mTimer = 1;
|
||||
@@ -773,6 +773,7 @@ void daObjRgate_c::demoProc() {
|
||||
mTimer = *timer_p;
|
||||
}
|
||||
break;
|
||||
}
|
||||
case DEMO_ACT_OPEN:
|
||||
mGateLMove = 1000;
|
||||
mGateRMove = -1000;
|
||||
|
||||
Reference in New Issue
Block a user