aboutsummaryrefslogtreecommitdiff
path: root/engines/titanic/game/pet
diff options
context:
space:
mode:
authorPaul Gilbert2016-09-10 23:16:15 -0400
committerPaul Gilbert2016-09-10 23:16:15 -0400
commit8eaf094bf59a30255f6e981bd9e1c593fc17b2fb (patch)
tree261f0fad2c6db5d75da682d9c7f43a74fee24a77 /engines/titanic/game/pet
parentcb33eca327414837d9095b7797a1996705fd768f (diff)
downloadscummvm-rg350-8eaf094bf59a30255f6e981bd9e1c593fc17b2fb.tar.gz
scummvm-rg350-8eaf094bf59a30255f6e981bd9e1c593fc17b2fb.tar.bz2
scummvm-rg350-8eaf094bf59a30255f6e981bd9e1c593fc17b2fb.zip
TITANIC: Move text messages to DAT file
Diffstat (limited to 'engines/titanic/game/pet')
-rw-r--r--engines/titanic/game/pet/pet_lift.cpp4
1 files changed, 2 insertions, 2 deletions
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");