aboutsummaryrefslogtreecommitdiff
path: root/scumm/script_v5.cpp
diff options
context:
space:
mode:
authorMax Horn2003-05-07 22:56:06 +0000
committerMax Horn2003-05-07 22:56:06 +0000
commitb1145090f6b2dab6a249508bf17238bfa898681a (patch)
tree3fd9e159a1ab5d787107d8319f2713631c1b0849 /scumm/script_v5.cpp
parent8188d946b3bad230de092782fa2c78223428dca6 (diff)
downloadscummvm-rg350-b1145090f6b2dab6a249508bf17238bfa898681a.tar.gz
scummvm-rg350-b1145090f6b2dab6a249508bf17238bfa898681a.tar.bz2
scummvm-rg350-b1145090f6b2dab6a249508bf17238bfa898681a.zip
Patch #733099: DIG: Experimental camera fix (should fix bugs #716350 and #659158)
svn-id: r7384
Diffstat (limited to 'scumm/script_v5.cpp')
-rw-r--r--scumm/script_v5.cpp4
1 files changed, 3 insertions, 1 deletions
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);