aboutsummaryrefslogtreecommitdiff
path: root/engines/titanic
diff options
context:
space:
mode:
Diffstat (limited to 'engines/titanic')
-rw-r--r--engines/titanic/npcs/bellbot.cpp4
-rw-r--r--engines/titanic/npcs/deskbot.cpp2
2 files changed, 5 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;
}
diff --git a/engines/titanic/npcs/deskbot.cpp b/engines/titanic/npcs/deskbot.cpp
index 27bea6f9a0..367d704f6b 100644
--- a/engines/titanic/npcs/deskbot.cpp
+++ b/engines/titanic/npcs/deskbot.cpp
@@ -22,6 +22,7 @@
#include "titanic/npcs/deskbot.h"
#include "titanic/pet_control/pet_control.h"
+#include "titanic/game_manager.h"
namespace Titanic {
@@ -133,6 +134,7 @@ bool CDeskbot::MovieEndMsg(CMovieEndMsg *msg) {
CTurnOn turnOn;
turnOn.execute("EmbBellbotTrigger");
unlockMouse();
+ getGameManager()->lockInputHandler();
changeView("EmbLobby.Node 4.N", "");
} else if (_npcFlags & NPCFLAG_MOVE_LEFT) {
CTurnOn turnOn;