From b1145090f6b2dab6a249508bf17238bfa898681a Mon Sep 17 00:00:00 2001 From: Max Horn Date: Wed, 7 May 2003 22:56:06 +0000 Subject: Patch #733099: DIG: Experimental camera fix (should fix bugs #716350 and #659158) svn-id: r7384 --- scumm/script_v5.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'scumm/script_v5.cpp') diff --git a/scumm/script_v5.cpp b/scumm/script_v5.cpp index 483885addb..30be92c18f 100644 --- a/scumm/script_v5.cpp +++ b/scumm/script_v5.cpp @@ -1348,7 +1348,9 @@ void Scumm_v5::o5_loadRoomWithEgo() { startScene(a->room, a, obj); _vars[VAR_WALKTO_OBJ] = 0; - camera._dest.x = camera._cur.x = a->x; + // FIXME: Can this be removed? + camera._cur.x = a->x; + setCameraAt(a->x, a->y); setCameraFollows(a); -- cgit v1.2.3