diff options
author | Paul Gilbert | 2008-10-04 11:10:25 +0000 |
---|---|---|
committer | Paul Gilbert | 2008-10-04 11:10:25 +0000 |
commit | 8706081b82f54dae944f3b75639415330c2cdef2 (patch) | |
tree | aadbd8683cb8c7ea4403f929d41e75506d8c7aee /engines | |
parent | d89ff31450c728ebae3892ef3ea7f83cacda0e2f (diff) | |
download | scummvm-rg350-8706081b82f54dae944f3b75639415330c2cdef2.tar.gz scummvm-rg350-8706081b82f54dae944f3b75639415330c2cdef2.tar.bz2 scummvm-rg350-8706081b82f54dae944f3b75639415330c2cdef2.zip |
Bugfix to prevent NPC characters managing to walk beyond room exits without leaving the room, and thus getting stuck
svn-id: r34737
Diffstat (limited to 'engines')
-rw-r--r-- | engines/lure/hotspots.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/engines/lure/hotspots.cpp b/engines/lure/hotspots.cpp index ba39c13aa5..57863c0feb 100644 --- a/engines/lure/hotspots.cpp +++ b/engines/lure/hotspots.cpp @@ -2760,11 +2760,11 @@ void HotspotTickHandlers::standardCharacterAnimHandler(Hotspot &h) { // Walking done h.currentActions().top().setAction(DISPATCH_ACTION); - if (h.destHotspotId() != 0) { +// if (h.destHotspotId() != 0) { // Walking to an exit, check for any required room change if (Support::checkRoomChange(h)) break; - } +// } } h.setOccupied(true); |