Skip to content

Commit

Permalink
TITANIC: Fix Doorbot disappearing on loading prologue elevator savegame
Browse files Browse the repository at this point in the history
  • Loading branch information
dreammaster committed Sep 4, 2017
1 parent 9fa97cd commit f36f394
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion engines/titanic/npcs/doorbot.cpp
Expand Up @@ -554,7 +554,7 @@ bool CDoorbot::TextInputMsg(CTextInputMsg *msg) {
bool CDoorbot::EnterViewMsg(CEnterViewMsg *msg) {
if ((_npcFlags & NPCFLAG_DOORBOT_INTRO) && _introMovieNum == 7)
playClip("SE Move And Turn", MOVIE_NOTIFY_OBJECT);
else if (msg->_newView == getParent() && getPetControl()->canSummonBot("DoorBot")) {
else if (!compareRoomNameTo("ServiceElevator") && msg->_newView == getParent() && getPetControl()->canSummonBot("DoorBot")) {
// WORKAROUND: Calling bot in front of doors and then going through them
// can leave it in the view. Detect this and properly remove him when
// the player returns to that view
Expand Down

0 comments on commit f36f394

Please sign in to comment.