diff options
author | D G Turner | 2019-11-15 03:38:19 +0000 |
---|---|---|
committer | D G Turner | 2019-11-15 03:38:19 +0000 |
commit | 81468e219344b39a993decc55df1b6fe5e3dbaf7 (patch) | |
tree | ea6c46fb18cc49bfe597f9c371737020e7c5a4b1 /engines/queen/talk.cpp | |
parent | 4af25ccfddec83d0525ad43c309fe8d3b751ea7b (diff) | |
download | scummvm-rg350-81468e219344b39a993decc55df1b6fe5e3dbaf7.tar.gz scummvm-rg350-81468e219344b39a993decc55df1b6fe5e3dbaf7.tar.bz2 scummvm-rg350-81468e219344b39a993decc55df1b6fe5e3dbaf7.zip |
QUEEN: Fix Missing Default Switch Cases
These are flagged by GCC if -Wswitch-default is enabled.
Diffstat (limited to 'engines/queen/talk.cpp')
-rw-r--r-- | engines/queen/talk.cpp | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/engines/queen/talk.cpp b/engines/queen/talk.cpp index b7f61ad266..1071e80a4d 100644 --- a/engines/queen/talk.cpp +++ b/engines/queen/talk.cpp @@ -813,6 +813,9 @@ void Talk::speakSegment( faceDirectionCommand = command; command = 0; break; + + default: + break; } bool isJoe = (0 == person->actor->bobNum); @@ -859,7 +862,8 @@ void Talk::speakSegment( color = isJoe ? 6 : 30; } break; - default: // FRANK_HEAD + case FRANK_HEAD: + default: textX = 150; if (_vm->resource()->getPlatform() == Common::kPlatformAmiga) { color = 17; @@ -935,6 +939,8 @@ void Talk::speakSegment( case SPEAK_FACE_BACK: faceDirection = DIR_BACK; break; + default: + break; } if (isJoe) _vm->logic()->joeFacing(faceDirection); |