aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPaul Gilbert2007-12-07 12:01:44 +0000
committerPaul Gilbert2007-12-07 12:01:44 +0000
commit870edd1b58ab7eb68ee7a443fd4e3d5325346f44 (patch)
tree766fe9f1b87fd5ec30f5cdc14d4ac2a8cb4ea62c
parentec54c02ff80477fb114a604cbc82c28340f66dd2 (diff)
downloadscummvm-rg350-870edd1b58ab7eb68ee7a443fd4e3d5325346f44.tar.gz
scummvm-rg350-870edd1b58ab7eb68ee7a443fd4e3d5325346f44.tar.bz2
scummvm-rg350-870edd1b58ab7eb68ee7a443fd4e3d5325346f44.zip
Bugfix so player will move out of the way if he's blocking an entrance a character is entering by
svn-id: r29746
-rw-r--r--engines/lure/hotspots.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/engines/lure/hotspots.cpp b/engines/lure/hotspots.cpp
index c29682213f..eb1a625cb4 100644
--- a/engines/lure/hotspots.cpp
+++ b/engines/lure/hotspots.cpp
@@ -2635,7 +2635,8 @@ void HotspotTickHandlers::standardCharacterAnimHandler(Hotspot &h) {
if (h.destHotspotId() != 0) {
// Walking to an exit, check for any required room change
- Support::checkRoomChange(h);
+ if (Support::checkRoomChange(h))
+ break;
}
}