fix for #583166 (hoagie doesn't enter mansion correctly); moved putActor into class Actor

svn-id: r4587
This commit is contained in:
Max Horn 2002-07-18 15:45:10 +00:00
parent 4968bc7a21
commit 37921ed5b7
6 changed files with 65 additions and 56 deletions

View file

@ -491,8 +491,8 @@ void Scumm::startScene(int room, Actor * a, int objectNr)
_currentRoom);
int x, y, dir;
getObjectXYPos(objectNr, x, y, dir);
putActor(a, x, y, _currentRoom);
a->setActorDirection(dir + 180);
a->putActor(x, y, _currentRoom);
a->setDirection(dir + 180);
a->moving = 0;
}
@ -505,7 +505,7 @@ void Scumm::startScene(int room, Actor * a, int objectNr)
if (a && !_egoPositioned) {
int x, y;
getObjectXYPos(objectNr, x, y);
putActor(a, x, y, _currentRoom);
a->putActor(x, y, _currentRoom);
a->moving = 0;
}
} else {