aboutsummaryrefslogtreecommitdiff
path: root/engines/titanic/npcs
diff options
context:
space:
mode:
Diffstat (limited to 'engines/titanic/npcs')
-rw-r--r--engines/titanic/npcs/liftbot.cpp13
1 files changed, 6 insertions, 7 deletions
diff --git a/engines/titanic/npcs/liftbot.cpp b/engines/titanic/npcs/liftbot.cpp
index 04448fc277..105c4aafe9 100644
--- a/engines/titanic/npcs/liftbot.cpp
+++ b/engines/titanic/npcs/liftbot.cpp
@@ -79,13 +79,12 @@ bool CLiftBot::EnterViewMsg(CEnterViewMsg *msg) {
CPetControl *pet = getPetControl();
if (!_enabled && pet->getRoomsElevatorNum() == 4) {
loadFrame(700);
- } else if (!_flag) {
- if (getName() != "LiftBot") {
- CViewItem *view = findView();
- setTalking(this, true, view);
- petSetArea(PET_CONVERSATION);
- _flag = 1;
- }
+ } else if (!_flag && getName() == "LiftBot") {
+ // First time meeting the LiftBot
+ CViewItem *view = findView();
+ setTalking(this, true, view);
+ petSetArea(PET_CONVERSATION);
+ _flag = 1;
}
return true;