diff options
author | Paul Gilbert | 2008-01-12 06:34:11 +0000 |
---|---|---|
committer | Paul Gilbert | 2008-01-12 06:34:11 +0000 |
commit | a5a4a6fde53a233cec068fb4c44cc2e62353cb7b (patch) | |
tree | af2df6e2d6348159b1b1c4edc28b32b5d6c401fa | |
parent | dde154c3edee7f2673fe59de4475f931e03fd812 (diff) | |
download | scummvm-rg350-a5a4a6fde53a233cec068fb4c44cc2e62353cb7b.tar.gz scummvm-rg350-a5a4a6fde53a233cec068fb4c44cc2e62353cb7b.tar.bz2 scummvm-rg350-a5a4a6fde53a233cec068fb4c44cc2e62353cb7b.zip |
Bugfix for actors getting stuck (losing their schedule)
svn-id: r30435
-rw-r--r-- | engines/lure/hotspots.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
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); |