aboutsummaryrefslogtreecommitdiff
path: root/engines/titanic/npcs/bellbot.cpp
diff options
context:
space:
mode:
authorPaul Gilbert2017-09-09 21:18:16 -0400
committerPaul Gilbert2017-09-09 21:18:16 -0400
commit29465fd116ac120d1710a3e3967d07a9823fc526 (patch)
tree464721b44cfb11aac25043c9f6b4eb3150977e9e /engines/titanic/npcs/bellbot.cpp
parent030b1d369d21bbd82fc5b101c8dd3ad58d612263 (diff)
downloadscummvm-rg350-29465fd116ac120d1710a3e3967d07a9823fc526.tar.gz
scummvm-rg350-29465fd116ac120d1710a3e3967d07a9823fc526.tar.bz2
scummvm-rg350-29465fd116ac120d1710a3e3967d07a9823fc526.zip
TITANIC: Disable input during Bellbot intro to prevent moving away
Diffstat (limited to 'engines/titanic/npcs/bellbot.cpp')
-rw-r--r--engines/titanic/npcs/bellbot.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/engines/titanic/npcs/bellbot.cpp b/engines/titanic/npcs/bellbot.cpp
index 93f9aeb43e..d38004c959 100644
--- a/engines/titanic/npcs/bellbot.cpp
+++ b/engines/titanic/npcs/bellbot.cpp
@@ -285,8 +285,10 @@ bool CBellBot::TrueTalkGetStateValueMsg(CTrueTalkGetStateValueMsg *msg) {
bool CBellBot::TrueTalkNotifySpeechEndedMsg(CTrueTalkNotifySpeechEndedMsg *msg) {
CTrueTalkNPC::TrueTalkNotifySpeechEndedMsg(msg);
- if (msg->_dialogueId == 20991)
+ if (msg->_dialogueId == 20991) {
petDismissBot("DoorBot");
+ getGameManager()->unlockInputHandler();
+ }
return true;
}