mirror of
https://github.com/libretro/scummvm.git
synced 2024-12-16 22:58:09 +00:00
another change for Dig - still crashes a lot with my save games, though :-/
svn-id: r6475
This commit is contained in:
parent
bf6e37cba8
commit
b9811d9594
@ -1327,7 +1327,10 @@ void Scumm_v6::o6_isActorInBox()
|
||||
{
|
||||
int box = pop();
|
||||
Actor *a = derefActorSafe(pop(), "o6_isActorInBox");
|
||||
push(checkXYInBoxBounds(box, a->x, a->y));
|
||||
if(!a)
|
||||
push(0); // FIXME: DIG seems to call this with an invalid actor id
|
||||
else
|
||||
push(checkXYInBoxBounds(box, a->x, a->y));
|
||||
}
|
||||
|
||||
void Scumm_v6::o6_getActorLayer()
|
||||
|
Loading…
Reference in New Issue
Block a user