aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTravis Howell2005-04-06 02:26:47 +0000
committerTravis Howell2005-04-06 02:26:47 +0000
commitf7ae1b822d353f44772a2fe6826bda83c6bd8682 (patch)
tree47e9175a2a6f6b9f85411ae37ee8deef9d4ba2d7
parent840a7ee846e0d72309f41b1cf6cf60a478d368f9 (diff)
downloadscummvm-rg350-f7ae1b822d353f44772a2fe6826bda83c6bd8682.tar.gz
scummvm-rg350-f7ae1b822d353f44772a2fe6826bda83c6bd8682.tar.bz2
scummvm-rg350-f7ae1b822d353f44772a2fe6826bda83c6bd8682.zip
Correction
svn-id: r17407
-rw-r--r--scumm/script_v5.cpp4
1 files changed, 1 insertions, 3 deletions
diff --git a/scumm/script_v5.cpp b/scumm/script_v5.cpp
index d6457a895d..6430843e18 100644
--- a/scumm/script_v5.cpp
+++ b/scumm/script_v5.cpp
@@ -1517,9 +1517,7 @@ void ScummEngine_v5::o5_loadRoomWithEgo() {
}
// This is based on disassembly
- camera._cur.x = a->_pos.x;
-
- setCameraAt(a->_pos.x, a->_pos.y);
+ camera._cur.x = camera._dest.x = a->_pos.x;
setCameraFollows(a);
_fullRedraw = 1;