This commit is contained in:
Ethan Roseman 2020-10-24 00:25:25 -04:00
parent 3407ecb91a
commit ef18c02a4a

View File

@ -480,7 +480,7 @@ ApiStatus si_handle_case_equal_AND(ScriptInstance* script) {
script->ptrNextLine = si_goto_end_case(script); script->ptrNextLine = si_goto_end_case(script);
} else if (switchBlockState == -2) { } else if (switchBlockState == -2) {
script->ptrNextLine = si_goto_next_case(script); script->ptrNextLine = si_goto_next_case(script);
} else if (var == switchBlockValue) { } else if (var == switchBlockValue) {
script->switchBlockState[switchDepth] = -1; script->switchBlockState[switchDepth] = -1;
} else { } else {
script->switchBlockState[switchDepth] = -2; script->switchBlockState[switchDepth] = -2;