aboutsummaryrefslogtreecommitdiff
path: root/engines/tsage
diff options
context:
space:
mode:
authorPaul Gilbert2011-02-16 23:25:10 +1100
committerPaul Gilbert2011-02-16 23:25:10 +1100
commit60d639f366318b80c061edabb8b3f2e97a3f54e6 (patch)
tree2a4ed001b409214f9ef91be78f2ca9e3575d7d6e /engines/tsage
parentc74537bc45706f78a1eb4e6b736644f3ebbd8347 (diff)
downloadscummvm-rg350-60d639f366318b80c061edabb8b3f2e97a3f54e6.tar.gz
scummvm-rg350-60d639f366318b80c061edabb8b3f2e97a3f54e6.tar.bz2
scummvm-rg350-60d639f366318b80c061edabb8b3f2e97a3f54e6.zip
TSAGE: Bugfix to correctly draw objects on-screen in double-width scrolling screens
Diffstat (limited to 'engines/tsage')
-rw-r--r--engines/tsage/core.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/engines/tsage/core.cpp b/engines/tsage/core.cpp
index cd944e5e1b..6598da6e1d 100644
--- a/engines/tsage/core.cpp
+++ b/engines/tsage/core.cpp
@@ -2118,8 +2118,8 @@ void SceneObject::reposition() {
*/
void SceneObject::draw() {
Rect destRect = _bounds;
- destRect.translate(_globals->_sceneManager._scene->_sceneBounds.left,
- _globals->_sceneManager._scene->_sceneBounds.top);
+ destRect.translate(-_globals->_sceneManager._scene->_sceneBounds.left,
+ -_globals->_sceneManager._scene->_sceneBounds.top);
Region *priorityRegion = _globals->_sceneManager._scene->_priorities.find(_priority);
GfxSurface frame = getFrame();
_globals->gfxManager().copyFrom(frame, destRect, priorityRegion);