mirror of
https://github.com/scummvm/scummvm.git
synced 2026-06-20 05:45:29 +00:00
Bugfix for making Goewin more smoothly follow player out of the caves
svn-id: r48813
This commit is contained in:
@@ -625,6 +625,11 @@ Hotspot *Resources::activateHotspot(uint16 hotspotId) {
|
||||
CharacterScheduleEntry *entry = resources.charSchedules().getEntry(res->npcScheduleId);
|
||||
res->npcSchedule.addFront(DISPATCH_ACTION, entry, res->roomNumber);
|
||||
}
|
||||
if ((hotspotId == GOEWIN_ID) && (hotspot->roomNumber() == 39))
|
||||
// WORKAROUND: When you re-join Goewin in the caves, clear her schedule. This may prevent a
|
||||
// situation where you could close the left door, and she'd be permanently stuck trying to go
|
||||
// the next room on the left, since her old schedule still had her following your old path
|
||||
hotspot->currentActions().clear();
|
||||
|
||||
// TODO: Figure out why there's a room set in the animation decode for a range of characters,
|
||||
// particularly since it doesn't seem to match what happens in-game
|
||||
|
||||
Reference in New Issue
Block a user