From 6391e49ee5d1fa9a0cc6f92fb13996d00e364a9e Mon Sep 17 00:00:00 2001 From: Paul Gilbert Date: Fri, 9 Feb 2007 10:56:31 +0000 Subject: Improved character blocked/bumped handling svn-id: r25440 --- engines/lure/scripts.cpp | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'engines/lure/scripts.cpp') diff --git a/engines/lure/scripts.cpp b/engines/lure/scripts.cpp index d867ae45c0..4ffdd56b70 100644 --- a/engines/lure/scripts.cpp +++ b/engines/lure/scripts.cpp @@ -395,7 +395,9 @@ void Script::setNewSupportData(uint16 hotspotId, uint16 index, uint16 v3) { CharacterScheduleEntry *entry = res.charSchedules().getEntry(dataId); Hotspot *h = res.getActiveHotspot(hotspotId); + h->setBlockedFlag(false); h->currentActions().addFront(DISPATCH_ACTION, entry, h->roomNumber()); + h->setActionCtr(0); } // Replaces the existing current action with a new dispatch data entry @@ -553,8 +555,8 @@ const char *scriptMethodNames[67] = { "SET CHAR SPEAKING TO ITSELF", "CHECK CELL DOOR", "PLAY MUSIC", "IS DOOR BLOCKED", "IS SKORL IN CELL", - NULL, NULL, NULL, "SET BLOCKING HOTSPOT SCRIPT", "DECREMENT # INVENTORY ITEMS", - "SET TALKING", + "PUSH BRICKS", "CHARACTER CHANGE ROOM", "PAUSE RATPOUCH", "SET BLOCKING HOTSPOT SCRIPT", + "DECREMENT # INVENTORY ITEMS", "SET TALKING", "SET ACTION CTR", "START SPEAKING", "DISABLE HOTSPOT", "CUT SACK", "INCREASE # GROATS", "ENABLE HOTSPOT", NULL, "TRANSFORM PLAYER", -- cgit v1.2.3