Add correct fix for bug #556496

svn-id: r17406
This commit is contained in:
Travis Howell 2005-04-06 02:11:07 +00:00
parent 21c2c60343
commit 840a7ee846
2 changed files with 5 additions and 0 deletions

View File

@ -1340,6 +1340,7 @@ void ScummEngine_v6::o6_loadRoomWithEgo() {
VAR(VAR_WALKTO_OBJ) = 0;
if (_version == 6) {
camera._cur.x = camera._dest.x = a->_pos.x;
setCameraFollows(a);
}

View File

@ -2255,6 +2255,10 @@ void ScummEngine::startScene(int room, Actor *a, int objectNr) {
a->putActor(x, y, _currentRoom);
a->setDirection(dir + 180);
a->stopActorMoving();
if (_gameId == GID_SAMNMAX) {
camera._cur.x = camera._dest.x = a->_pos.x;
setCameraAt(a->_pos.x, a->_pos.y);
}
}
showActors();