mirror of
https://github.com/libretro/scummvm.git
synced 2025-03-06 10:17:14 +00:00
Hack to avoid bad actor crash in o5_walkActorToActor() when using the camel
in the FOA "wits" path. We have a number of these hacks now... svn-id: r8460
This commit is contained in:
parent
6bce6b4069
commit
423ccef9a2
@ -2392,6 +2392,16 @@ void Scumm_v5::o5_walkActorToActor() {
|
||||
return;
|
||||
}
|
||||
|
||||
if (_gameId == GID_INDY4 && nr == 1 && nr2 == 106 &&
|
||||
dist == 255 && vm.slot[_currentScript].number == 210) {
|
||||
// FIXME: Work around an invalid actor bug when using the
|
||||
// camel in Fate of Atlantis, the "wits" path. The room-65-210
|
||||
// script contains this: walkActorToActor(1,106,255)
|
||||
// Once more this is either a script bug, or there is
|
||||
// some hidden meaning in this odd walk request?
|
||||
return;
|
||||
}
|
||||
|
||||
a = derefActor(nr, "o5_walkActorToActor");
|
||||
if (!a->isInCurrentRoom())
|
||||
return;
|
||||
|
Loading…
x
Reference in New Issue
Block a user