From 8eaf094bf59a30255f6e981bd9e1c593fc17b2fb Mon Sep 17 00:00:00 2001 From: Paul Gilbert Date: Sat, 10 Sep 2016 23:16:15 -0400 Subject: TITANIC: Move text messages to DAT file --- engines/titanic/game/pet/pet_lift.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'engines/titanic/game/pet') diff --git a/engines/titanic/game/pet/pet_lift.cpp b/engines/titanic/game/pet/pet_lift.cpp index afa9dd04cd..a7b48853e6 100644 --- a/engines/titanic/game/pet/pet_lift.cpp +++ b/engines/titanic/game/pet/pet_lift.cpp @@ -52,7 +52,7 @@ bool CPETLift::TransportMsg(CTransportMsg *msg) { } else if (msg->_roomName == "PlayersRoom" && pet) { int assignedFloor = pet->getAssignedFloorNum(); if (assignedFloor < 1 || assignedFloor > 39) { - pet->petDisplayMessage("You have not assigned a room to go to."); + pet->petDisplayMessage(NO_ROOM_ASSIGNED); floorNum = -1; } } @@ -61,7 +61,7 @@ bool CPETLift::TransportMsg(CTransportMsg *msg) { int elevatorNum = pet ? pet->getRoomsElevatorNum() : 0; if ((elevatorNum == 2 || elevatorNum == 4) && floorNum > 27) { - petDisplayMessage("Sorry, this elevator does not go below floor 27."); + petDisplayMessage(ELEVATOR_NOT_BELOW_27); } else { CTrueTalkTriggerActionMsg triggerMsg(2, floorNum, 0); triggerMsg.execute("Liftbot"); -- cgit v1.2.3