diff options
author | Paul Gilbert | 2007-02-09 10:56:31 +0000 |
---|---|---|
committer | Paul Gilbert | 2007-02-09 10:56:31 +0000 |
commit | 6391e49ee5d1fa9a0cc6f92fb13996d00e364a9e (patch) | |
tree | f75bf1f7f6004ed642218d931ff3788d9dc7e754 /engines/lure/scripts.cpp | |
parent | b79883f3af2956f8719ecf0fecfb0adfb196d61b (diff) | |
download | scummvm-rg350-6391e49ee5d1fa9a0cc6f92fb13996d00e364a9e.tar.gz scummvm-rg350-6391e49ee5d1fa9a0cc6f92fb13996d00e364a9e.tar.bz2 scummvm-rg350-6391e49ee5d1fa9a0cc6f92fb13996d00e364a9e.zip |
Improved character blocked/bumped handling
svn-id: r25440
Diffstat (limited to 'engines/lure/scripts.cpp')
-rw-r--r-- | engines/lure/scripts.cpp | 6 |
1 files changed, 4 insertions, 2 deletions
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", |