From c55e83e7761e93aac124121de0e6e45b20269e02 Mon Sep 17 00:00:00 2001 From: Paul Gilbert Date: Sun, 6 Aug 2017 17:45:27 -0400 Subject: TITANIC: Remove development link left in computer screen view --- engines/titanic/moves/move_player_in_parrot_room.cpp | 12 +++++------- 1 file changed, 5 insertions(+), 7 deletions(-) (limited to 'engines/titanic/moves/move_player_in_parrot_room.cpp') diff --git a/engines/titanic/moves/move_player_in_parrot_room.cpp b/engines/titanic/moves/move_player_in_parrot_room.cpp index 186e448bba..dfe8cf547e 100644 --- a/engines/titanic/moves/move_player_in_parrot_room.cpp +++ b/engines/titanic/moves/move_player_in_parrot_room.cpp @@ -27,6 +27,7 @@ namespace Titanic { BEGIN_MESSAGE_MAP(CMovePlayerInParrotRoom, CMovePlayerTo) ON_MESSAGE(ActMsg) ON_MESSAGE(MouseButtonDownMsg) + ON_MESSAGE(MovementMsg) END_MESSAGE_MAP() CMovePlayerInParrotRoom::CMovePlayerInParrotRoom() : CMovePlayerTo() { @@ -58,13 +59,10 @@ bool CMovePlayerInParrotRoom::MouseButtonDownMsg(CMouseButtonDownMsg *msg) { return true; } -bool CMovePlayerInParrotRoom::findPoint(Point &pt) { - if (_destination == "ParrotLobby.Node 1.E") { - pt = Point(600, 180); - return true; - } else { - return CMovePlayerTo::findPoint(pt); - } +bool CMovePlayerInParrotRoom::MovementMsg(CMovementMsg *msg) { + if (msg->_movement == TURN_RIGHT) + msg->_posToUse = Point(600, 180); + return false; } } // End of namespace Titanic -- cgit v1.2.3