diff options
author | D G Turner | 2019-11-14 03:28:11 +0000 |
---|---|---|
committer | D G Turner | 2019-11-14 03:28:11 +0000 |
commit | e4a874c6b87ee556a92588253dcc16ee5a0a7ab3 (patch) | |
tree | 56411c60cbd40011ec56ecbc12f7ff53fcc851d4 /engines/teenagent/dialog.cpp | |
parent | eaff2c539f68e67431853192038df9c8454d33dc (diff) | |
download | scummvm-rg350-e4a874c6b87ee556a92588253dcc16ee5a0a7ab3.tar.gz scummvm-rg350-e4a874c6b87ee556a92588253dcc16ee5a0a7ab3.tar.bz2 scummvm-rg350-e4a874c6b87ee556a92588253dcc16ee5a0a7ab3.zip |
TEENAGENT: Fix Missing Default Switch Cases
These are flagged by GCC if -Wswitch-default is enabled.
Diffstat (limited to 'engines/teenagent/dialog.cpp')
-rw-r--r-- | engines/teenagent/dialog.cpp | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/engines/teenagent/dialog.cpp b/engines/teenagent/dialog.cpp index 0993c26961..3c0f392033 100644 --- a/engines/teenagent/dialog.cpp +++ b/engines/teenagent/dialog.cpp @@ -115,17 +115,20 @@ void Dialog::show(Scene *scene, uint16 addr, uint16 animation1, uint16 animation color = (color == color1) ? color2 : color1; debugC(1, kDebugDialog, "changing color to %02x", color); break; + + default: + break; } break; - case 0xff: { + case 0xff: //FIXME : wait for the next cycle of the animation - } - break; + break; default: message += c; n = 0; + break; } } |