diff options
author | D G Turner | 2019-10-23 23:42:38 +0100 |
---|---|---|
committer | D G Turner | 2019-10-23 23:42:38 +0100 |
commit | 0386fd0eea6df3688cd4da988d7c1b3a377b1240 (patch) | |
tree | bbff3ae0965bf9f7cd8ad30dbae2032db262bb51 /engines/hopkins/talk.cpp | |
parent | e15428c43fc62f3e139d6b97e61624941f7e08ba (diff) | |
download | scummvm-rg350-0386fd0eea6df3688cd4da988d7c1b3a377b1240.tar.gz scummvm-rg350-0386fd0eea6df3688cd4da988d7c1b3a377b1240.tar.bz2 scummvm-rg350-0386fd0eea6df3688cd4da988d7c1b3a377b1240.zip |
HOPKINS: Fix Missing Default Switch Cases
These are flagged by GCC if -Wswitch-default is enabled.
Diffstat (limited to 'engines/hopkins/talk.cpp')
-rw-r--r-- | engines/hopkins/talk.cpp | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/engines/hopkins/talk.cpp b/engines/hopkins/talk.cpp index f3cd6bd026..1ed7aaf66c 100644 --- a/engines/hopkins/talk.cpp +++ b/engines/hopkins/talk.cpp @@ -79,6 +79,8 @@ void TalkManager::startAnimatedCharacterDialogue(const Common::String &filename) case LANG_SP: _answersFilename = _questionsFilename = "RUEES.TXT"; break; + default: + break; } _dialogueMesgId1 = READ_LE_INT16((uint16 *)_characterBuffer + 40); _paletteBufferIdx = 20 * READ_LE_INT16((uint16 *)_characterBuffer + 42) + 110; @@ -182,6 +184,8 @@ void TalkManager::startStaticCharacterDialogue(const Common::String &filename) { _questionsFilename = "RUEES.TXT"; _answersFilename = "RUEES.TXT"; break; + default: + break; } _dialogueMesgId1 = READ_LE_INT16((uint16 *)_characterBuffer + 40); @@ -907,6 +911,8 @@ void TalkManager::handleForestAnswser(int zone, int verb) { case 41: indx = 213; break; + default: + break; } _vm->_globals->_saveData->_data[indx] = 2; _vm->_linesMan->disableZone(22); @@ -954,6 +960,8 @@ void TalkManager::handleForestAnswser(int zone, int verb) { case 41: indx = 212; break; + default: + break; } _vm->_globals->_saveData->_data[indx] = 2; _vm->_linesMan->disableZone(21); |