aboutsummaryrefslogtreecommitdiff
path: root/engines/wintermute/base/base_sub_frame.cpp
diff options
context:
space:
mode:
authorTobia Tesan2013-07-09 20:57:03 +0200
committerTobia Tesan2013-08-01 00:03:46 +0200
commitb34d7b753912af6dd971872cd702d489974606ff (patch)
tree621c07f2ce02c9be03a9d1787398314b5a1621bb /engines/wintermute/base/base_sub_frame.cpp
parent0b21d6dca2ad5be41fa2aa4c2bed2cb694fba4d1 (diff)
downloadscummvm-rg350-b34d7b753912af6dd971872cd702d489974606ff.tar.gz
scummvm-rg350-b34d7b753912af6dd971872cd702d489974606ff.tar.bz2
scummvm-rg350-b34d7b753912af6dd971872cd702d489974606ff.zip
WINTERMUTE: *transform as pointer in transform_tools
Diffstat (limited to 'engines/wintermute/base/base_sub_frame.cpp')
-rw-r--r--engines/wintermute/base/base_sub_frame.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/wintermute/base/base_sub_frame.cpp b/engines/wintermute/base/base_sub_frame.cpp
index eb1c859c2f..dbf46eae2e 100644
--- a/engines/wintermute/base/base_sub_frame.cpp
+++ b/engines/wintermute/base/base_sub_frame.cpp
@@ -269,7 +269,7 @@ bool BaseSubFrame::draw(int x, int y, BaseObject *registerOwner, float zoomX, fl
Rect32 oldRect = getRect();
Point32 newHotspot;
TransformStruct transform = TransformStruct(zoomX, zoomY, rotate, _hotspotX, _hotspotY, blendMode, alpha, _mirrorX, _mirrorY, 0, 0);
- Rect32 newRect = TransformTools::newRect (oldRect, transform, &newHotspot);
+ Rect32 newRect = TransformTools::newRect (oldRect, &transform, &newHotspot);
newOrigin = origin - newHotspot;
res = _surface->displayTransform(newOrigin.x, newOrigin.y, oldRect, newRect, transform);
} else {