aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPaul Gilbert2017-01-15 12:08:46 -0500
committerPaul Gilbert2017-01-15 12:08:46 -0500
commitd4e2697adba99d0c3e309f11c22e78ef2c6f81d7 (patch)
treecc49f7b97ec8a3f9f2d1c67008c2bea38d83a73d
parent45a42ec949d86098bf44d7e1e7615939d6fa09e2 (diff)
downloadscummvm-rg350-d4e2697adba99d0c3e309f11c22e78ef2c6f81d7.tar.gz
scummvm-rg350-d4e2697adba99d0c3e309f11c22e78ef2c6f81d7.tar.bz2
scummvm-rg350-d4e2697adba99d0c3e309f11c22e78ef2c6f81d7.zip
TITANIC: Don't allow entering Arboretum Pellerator during winter
-rw-r--r--engines/titanic/moves/call_pellerator.cpp2
-rw-r--r--engines/titanic/support/strings.h1
2 files changed, 3 insertions, 0 deletions
diff --git a/engines/titanic/moves/call_pellerator.cpp b/engines/titanic/moves/call_pellerator.cpp
index 75edd50a25..e894dd8d4f 100644
--- a/engines/titanic/moves/call_pellerator.cpp
+++ b/engines/titanic/moves/call_pellerator.cpp
@@ -65,6 +65,8 @@ bool CCallPellerator::PETActivateMsg(CPETActivateMsg *msg) {
if (msg->_name == "Pellerator") {
if (petDoorOrBellbotPresent()) {
petDisplayMessage(BOT_BLOCKING_PELLERATOR);
+ } else if (name == "FrozenArboretum.Node 4.E") {
+ petDisplayMessage(FROZEN_PELLERATOR);
} else if (name == "Bar.Node 1.S") {
changeView("Pellerator.Node 1.S");
} else {
diff --git a/engines/titanic/support/strings.h b/engines/titanic/support/strings.h
index 97928dc6e8..1f231c432d 100644
--- a/engines/titanic/support/strings.h
+++ b/engines/titanic/support/strings.h
@@ -31,6 +31,7 @@ enum StringId {
BLANK,
STANDING_OUTSIDE_PELLERATOR,
BOT_BLOCKING_PELLERATOR,
+ FROZEN_PELLERATOR,
SUCCUBUS_IS_IN_STANDBY,
NOTHING_TO_DELIVER,
NOTHING_IN_SUCCUBUS_TRAY,