LURE: Fix for #3062794 - Diermot cannot leave room 7

svn-id: r53039
This commit is contained in:
Paul Gilbert 2010-10-06 09:55:41 +00:00
parent 7ffd94004e
commit b15f51ad7b
2 changed files with 9 additions and 2 deletions

1
NEWS
View File

@ -103,6 +103,7 @@ For a more comprehensive changelog for the latest experimental SVN code, see:
- Fixed bug where Goewin could get stuck in the Weregate
- Fixed issue with Ratpouch repeatedly moving between two rooms
- Fix for Goewin losing her schedule after Were-cave
- Fix for player getting stuck in sewer exit room
Parallaction:
- Made part one of The Big Red Adventure completable.

View File

@ -3133,8 +3133,14 @@ void HotspotTickHandlers::followerAnimHandler(Hotspot &h) {
const RoomTranslationRecord *p = &roomTranslations[0];
while ((p->srcRoom != 0) && (p->srcRoom != player->roomNumber()))
++p;
h.currentActions().addFront(DISPATCH_ACTION,
(p->srcRoom != 0) ? p->destRoom : player->roomNumber());
if (p->destRoom == h.roomNumber())
// Character is already in destination room, so set a random dest
h.setRandomDest();
else
// Move character to either the player's room, or found alternate destination
h.currentActions().addFront(DISPATCH_ACTION,
(p->srcRoom != 0) ? p->destRoom : player->roomNumber());
}
}
}