aboutsummaryrefslogtreecommitdiff
path: root/engines
diff options
context:
space:
mode:
authorPaul Gilbert2017-01-21 18:45:57 -0500
committerPaul Gilbert2017-01-21 18:45:57 -0500
commit56931a0dbb3904eb80b5921f8c659c31d07fbccd (patch)
tree680d1656dd7a9fa8d97c8fcaf66b11bdb2880fbc /engines
parent8a476715f6a733a0d6aa765204e87547725c243e (diff)
downloadscummvm-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.cpp3
-rw-r--r--engines/titanic/true_talk/bellbot_script.cpp6
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();