diff options
| author | D G Turner | 2019-10-14 03:54:10 +0100 |
|---|---|---|
| committer | D G Turner | 2019-10-14 03:54:10 +0100 |
| commit | 95c0afa2c3f9b02e4b593f82e4d5a943aed91b16 (patch) | |
| tree | b121391c497c364b631520ef3053ada61f8def18 /engines/agi/console.cpp | |
| parent | edf310c8946dbefbd94c887d656523bece672481 (diff) | |
| download | scummvm-rg350-95c0afa2c3f9b02e4b593f82e4d5a943aed91b16.tar.gz scummvm-rg350-95c0afa2c3f9b02e4b593f82e4d5a943aed91b16.tar.bz2 scummvm-rg350-95c0afa2c3f9b02e4b593f82e4d5a943aed91b16.zip | |
AGI: Fix Missing Default Switch Cases
These are flagged by GCC if -Wswitch-default is enabled.
Diffstat (limited to 'engines/agi/console.cpp')
| -rw-r--r-- | engines/agi/console.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/engines/agi/console.cpp b/engines/agi/console.cpp index 3729cd3be6..4e310a3aac 100644 --- a/engines/agi/console.cpp +++ b/engines/agi/console.cpp @@ -532,6 +532,9 @@ bool Console::Cmd_ScreenObj(int argc, const char **argv) { } debugPrintf("x: %d, y: %d, stepSize: %d, flag: %x\n", screenObj->move_x, screenObj->move_y, screenObj->move_stepSize, screenObj->move_flag); break; + default: + debugPrintf("motion: UNKNOWN (%d)\n", screenObj->motionType); + break; } } return true; |
