diff options
-rw-r--r-- | engines/sky/debug.cpp | 2 | ||||
-rw-r--r-- | engines/sky/logic.cpp | 2 |
2 files changed, 4 insertions, 0 deletions
diff --git a/engines/sky/debug.cpp b/engines/sky/debug.cpp index 78ded552d2..2d00c0b0b4 100644 --- a/engines/sky/debug.cpp +++ b/engines/sky/debug.cpp @@ -1258,6 +1258,8 @@ bool Debugger::Cmd_LogicCommand(int argc, const char **argv) { case 3: arg1 = atoi(argv[2]); // fall through + default: + break; } for (int i = 0; i < numMCodes; ++i) { diff --git a/engines/sky/logic.cpp b/engines/sky/logic.cpp index 8833b45078..aa2d4f6468 100644 --- a/engines/sky/logic.cpp +++ b/engines/sky/logic.cpp @@ -1318,6 +1318,8 @@ uint16 Logic::script(uint16 scriptNo, uint16 offset) { case 1: a = pop(); // fall through + default: + break; } uint16 mcode = *scriptData++ / 4; // get mcode number |