From 56931a0dbb3904eb80b5921f8c659c31d07fbccd Mon Sep 17 00:00:00 2001 From: Paul Gilbert Date: Sat, 21 Jan 2017 18:45:57 -0500 Subject: TITANIC: Formatting fixes for else blocks --- engines/titanic/carry/brain.cpp | 3 +-- engines/titanic/true_talk/bellbot_script.cpp | 6 ++---- 2 files changed, 3 insertions(+), 6 deletions(-) (limited to 'engines') 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(); -- cgit v1.2.3