From 870edd1b58ab7eb68ee7a443fd4e3d5325346f44 Mon Sep 17 00:00:00 2001 From: Paul Gilbert Date: Fri, 7 Dec 2007 12:01:44 +0000 Subject: Bugfix so player will move out of the way if he's blocking an entrance a character is entering by svn-id: r29746 --- engines/lure/hotspots.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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; } } -- cgit v1.2.3