mirror of
https://github.com/libretro/scummvm.git
synced 2025-02-24 13:13:58 +00:00
TITANIC: Fix handling text input for LiftBot
This commit is contained in:
parent
8c52ef42b5
commit
77474f9020
@ -66,7 +66,7 @@ void CLiftBot::load(SimpleFile *file) {
|
||||
bool CLiftBot::TextInputMsg(CTextInputMsg *msg) {
|
||||
CPetControl *pet = getPetControl();
|
||||
if (_enabled || pet->getRoomsElevatorNum() != 4) {
|
||||
if (getName() != "LiftBot") {
|
||||
if (getName() == "LiftBot") {
|
||||
CViewItem *view = findView();
|
||||
processInput(msg, view);
|
||||
}
|
||||
@ -108,7 +108,7 @@ bool CLiftBot::TrueTalkTriggerActionMsg(CTrueTalkTriggerActionMsg *msg) {
|
||||
}
|
||||
|
||||
bool CLiftBot::LeaveRoomMsg(CLeaveRoomMsg *msg) {
|
||||
if (getName() != "LiftBot")
|
||||
if (getName() == "LiftBot")
|
||||
performAction(false);
|
||||
|
||||
return true;
|
||||
|
Loading…
x
Reference in New Issue
Block a user