From 8b9c7b2137006ab0dd1b1b22f5e52703803e7537 Mon Sep 17 00:00:00 2001 From: Paul Gilbert Date: Thu, 10 Jan 2008 10:48:04 +0000 Subject: Corrected the name of script method #39 which closes the town hall door svn-id: r30371 --- engines/lure/scripts.cpp | 6 +++--- engines/lure/scripts.h | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) (limited to 'engines') 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); -- cgit v1.2.3