mirror of
https://github.com/libretro/scummvm.git
synced 2025-02-05 02:17:05 +00:00
parent
21c2c60343
commit
840a7ee846
@ -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);
|
||||
}
|
||||
|
||||
|
@ -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();
|
||||
|
Loading…
x
Reference in New Issue
Block a user