From 60d639f366318b80c061edabb8b3f2e97a3f54e6 Mon Sep 17 00:00:00 2001 From: Paul Gilbert Date: Wed, 16 Feb 2011 23:25:10 +1100 Subject: TSAGE: Bugfix to correctly draw objects on-screen in double-width scrolling screens --- engines/tsage/core.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'engines/tsage') 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); -- cgit v1.2.3