diff options
author | Paul Gilbert | 2017-01-21 18:45:57 -0500 |
---|---|---|
committer | Paul Gilbert | 2017-01-21 18:45:57 -0500 |
commit | 56931a0dbb3904eb80b5921f8c659c31d07fbccd (patch) | |
tree | 680d1656dd7a9fa8d97c8fcaf66b11bdb2880fbc /engines | |
parent | 8a476715f6a733a0d6aa765204e87547725c243e (diff) | |
download | scummvm-rg350-56931a0dbb3904eb80b5921f8c659c31d07fbccd.tar.gz scummvm-rg350-56931a0dbb3904eb80b5921f8c659c31d07fbccd.tar.bz2 scummvm-rg350-56931a0dbb3904eb80b5921f8c659c31d07fbccd.zip |
TITANIC: Formatting fixes for else blocks
Diffstat (limited to 'engines')
-rw-r--r-- | engines/titanic/carry/brain.cpp | 3 | ||||
-rw-r--r-- | engines/titanic/true_talk/bellbot_script.cpp | 6 |
2 files changed, 3 insertions, 6 deletions
diff --git a/engines/titanic/carry/brain.cpp b/engines/titanic/carry/brain.cpp index 64b068697b..b00f026718 100644 --- a/engines/titanic/carry/brain.cpp +++ b/engines/titanic/carry/brain.cpp @@ -75,8 +75,7 @@ bool CBrain::UseWithOtherMsg(CUseWithOtherMsg *msg) { } return true; - } - else { + } else { return CCarry::UseWithOtherMsg(msg); } } diff --git a/engines/titanic/true_talk/bellbot_script.cpp b/engines/titanic/true_talk/bellbot_script.cpp index 44fa961fcc..5e000ddd38 100644 --- a/engines/titanic/true_talk/bellbot_script.cpp +++ b/engines/titanic/true_talk/bellbot_script.cpp @@ -173,15 +173,13 @@ int BellbotScript::process(const TTroomScript *roomScript, const TTsentence *sen addResponse(getDialogueId(201687)); applyResponse(); return 2; - } - else if (roomScript->_scriptId == 111) { + } else if (roomScript->_scriptId == 111) { addResponse(getDialogueId(201687)); applyResponse(); CTrueTalkManager::triggerAction(17, 0); CTrueTalkManager::setFlags(40, 1); return 2; - } - else { + } else { addResponse(getDialogueId(200710)); addResponse(getDialogueId(201334)); applyResponse(); |