From b3a7e537944f6b26bd4d4e1676bd1bc2ca20efd9 Mon Sep 17 00:00:00 2001 From: Paul Gilbert Date: Sat, 3 Jan 2009 11:35:00 +0000 Subject: Bugfix for #2480853 - Skorl doesn't follow Minnow into Cellar svn-id: r35695 --- engines/lure/res.cpp | 3 +++ 1 file changed, 3 insertions(+) (limited to 'engines/lure/res.cpp') diff --git a/engines/lure/res.cpp b/engines/lure/res.cpp index 2d69c9e931..95cb0a2f1b 100644 --- a/engines/lure/res.cpp +++ b/engines/lure/res.cpp @@ -620,6 +620,9 @@ Hotspot *Resources::activateHotspot(uint16 hotspotId) { // Special post-load handling if (res->loadOffset == 3) hotspot->setPersistant(true); if (res->loadOffset == 5) hotspot->handleTalkDialog(); + if (hotspotId == CASTLE_SKORL_ID) + // The Castle skorl has a default room #99, so it needs to be adjusted dynamically + res->npcSchedule.top().setRoomNumber(res->roomNumber); // TODO: Figure out why there's a room set in the animation decode for a range of characters, // particularly since it doesn't seem to match what happens in-game -- cgit v1.2.3