aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--engines/lure/scripts.cpp6
-rw-r--r--engines/lure/scripts.h2
2 files changed, 4 insertions, 4 deletions
diff --git a/engines/lure/scripts.cpp b/engines/lure/scripts.cpp
index 8d2261f770..173330cfe9 100644
--- a/engines/lure/scripts.cpp
+++ b/engines/lure/scripts.cpp
@@ -443,9 +443,9 @@ void Script::transformPlayer(uint16 v1, uint16 v2, uint16 v3) {
activeHotspot->setHotspotScript(0x630);
}
-// Marks the jail door in room 14 for closing
+// Marks the town hall door in room 14 for closing
-void Script::jailClose(uint16 v1, uint16 v2, uint16 v3) {
+void Script::townHallClose(uint16 v1, uint16 v2, uint16 v3) {
RoomExitJoinData *joinRec = Resources::getReference().getExitJoin(0x2719);
joinRec->blocked = 1;
}
@@ -798,7 +798,7 @@ static const SequenceMethodRecord scriptMethods[] = {
{36, Script::displayMessage2},
{37, Script::startOilBurner},
{38, Script::transformPlayer},
- {39, Script::jailClose},
+ {39, Script::townHallClose},
{40, Script::checkRoomNumber},
{41, Script::makeGoewinFollow},
{42, Script::doorClose},
diff --git a/engines/lure/scripts.h b/engines/lure/scripts.h
index 1a0d4e732c..92e1ed09a5 100644
--- a/engines/lure/scripts.h
+++ b/engines/lure/scripts.h
@@ -115,7 +115,7 @@ public:
static void displayMessage2(uint16 messageId, uint16 hotspotId, uint16 v3);
static void startOilBurner(uint16 v1, uint16 v2, uint16 v3);
static void transformPlayer(uint16 v1, uint16 v2, uint16 v3);
- static void jailClose(uint16 v1, uint16 v2, uint16 v3);
+ static void townHallClose(uint16 v1, uint16 v2, uint16 v3);
static void checkRoomNumber(uint16 hotspotId, uint16 roomNumber, uint16 v3);
static void makeGoewinFollow(uint16 v1, uint16 v2, uint16 v3);
static void doorClose(uint16 hotspotId, uint16 v2, uint16 v3);