From a5a4a6fde53a233cec068fb4c44cc2e62353cb7b Mon Sep 17 00:00:00 2001 From: Paul Gilbert Date: Sat, 12 Jan 2008 06:34:11 +0000 Subject: Bugfix for actors getting stuck (losing their schedule) svn-id: r30435 --- engines/lure/hotspots.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/engines/lure/hotspots.cpp b/engines/lure/hotspots.cpp index 30b17bc7ad..44157e45ab 100644 --- a/engines/lure/hotspots.cpp +++ b/engines/lure/hotspots.cpp @@ -3960,7 +3960,7 @@ void HotspotTickHandlers::npcRoomChange(Hotspot &h) { } h.currentActions().top().setRoomNumber(h.roomNumber()); - } else if (h.blockedOffset() != 0) { + } else if ((h.blockedOffset() != 0) && (h.blockedOffset() != 0xffff)) { // Only current action on stack - and there is a block handler CharacterScheduleEntry *entry = res.charSchedules().getEntry(h.blockedOffset()); h.currentActions().top().setSupportData(entry); -- cgit v1.2.3