diff options
author | Bastien Bouclet | 2017-07-23 11:12:12 +0200 |
---|---|---|
committer | Bastien Bouclet | 2017-07-23 11:12:12 +0200 |
commit | bc952807ecc73cf827a779adf1704bffe8a1db2f (patch) | |
tree | 857ff0290f7f176492edbac2001d2acd84498603 /engines/titanic/true_talk | |
parent | 96a1b7070088ce2a9fdcb85f124fd0a2d7ef8d60 (diff) | |
download | scummvm-rg350-bc952807ecc73cf827a779adf1704bffe8a1db2f.tar.gz scummvm-rg350-bc952807ecc73cf827a779adf1704bffe8a1db2f.tar.bz2 scummvm-rg350-bc952807ecc73cf827a779adf1704bffe8a1db2f.zip |
TITANIC: Adjust the switch/case fall-through comments
This way, GCC 7 does not generate a warning for those cases when
-Wimplicit-fallthrough=3 is enabled, which is now the default.
Diffstat (limited to 'engines/titanic/true_talk')
-rw-r--r-- | engines/titanic/true_talk/barbot_script.cpp | 2 | ||||
-rw-r--r-- | engines/titanic/true_talk/bellbot_script.cpp | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/engines/titanic/true_talk/barbot_script.cpp b/engines/titanic/true_talk/barbot_script.cpp index ae4104cb68..627df6f860 100644 --- a/engines/titanic/true_talk/barbot_script.cpp +++ b/engines/titanic/true_talk/barbot_script.cpp @@ -315,7 +315,7 @@ int BarbotScript::process(const TTroomScript *roomScript, const TTsentence *sent } else if (flag2) { return applySentenceIds(51423); } - // Deliberate fall-through + // Intentional fall-through case 16: if (val2C == 7 || val2C == 10) diff --git a/engines/titanic/true_talk/bellbot_script.cpp b/engines/titanic/true_talk/bellbot_script.cpp index c958727a8b..8e5633b078 100644 --- a/engines/titanic/true_talk/bellbot_script.cpp +++ b/engines/titanic/true_talk/bellbot_script.cpp @@ -389,7 +389,7 @@ ScriptChangedResult BellbotScript::scriptChanged(const TTroomScript *roomScript, _responseFlag = false; CTrueTalkManager::_v9 = 0; - // Deliberate fall-through + // Intentional fall-through default: if (roomScript->_scriptId == 115 && id == 103) { switch (getValue(4)) { |