mirror of
https://github.com/libretro/scummvm.git
synced 2025-03-05 09:49:14 +00:00
GOB: Mark intentional fallthrough in switch statements
This commit is contained in:
parent
9adaaf9c94
commit
a5fcdb55da
@ -562,6 +562,7 @@ void Draw_v2::printTotText(int16 id) {
|
||||
|
||||
default:
|
||||
str[strPos] = (char) cmd;
|
||||
// fall through
|
||||
case 32:
|
||||
mask[strPos++] = maskChar;
|
||||
ptr++;
|
||||
|
@ -153,7 +153,7 @@ void Expression::skipExpr(char stopToken) {
|
||||
|
||||
case 15:
|
||||
_vm->_game->_script->skip(2);
|
||||
|
||||
// fall through
|
||||
case OP_ARRAY_INT8:
|
||||
case OP_ARRAY_INT32:
|
||||
case OP_ARRAY_INT16:
|
||||
|
@ -79,6 +79,7 @@ void Oko::advance() {
|
||||
case kStateBreathe:
|
||||
if ((getFrame() == 6) || (getFrame() == 23))
|
||||
_sound->blasterPlay(_breathe, 1, 0);
|
||||
// fall through
|
||||
case kStateSink:
|
||||
case kStateRaise:
|
||||
case kStateHurt:
|
||||
|
Loading…
x
Reference in New Issue
Block a user