aboutsummaryrefslogtreecommitdiff
path: root/engines/wintermute/base/base_sub_frame.cpp
diff options
context:
space:
mode:
authorTobia Tesan2013-07-10 11:42:16 +0200
committerTobia Tesan2013-08-01 00:04:21 +0200
commit9f97ad6a3e9e10fa7164a4e545c1705896f77925 (patch)
tree5e6990f84f185d2e635c81eb9c36eaa268c7da14 /engines/wintermute/base/base_sub_frame.cpp
parentf014cccb94e0b3244a3e6dca91db7ca7552e6d79 (diff)
downloadscummvm-rg350-9f97ad6a3e9e10fa7164a4e545c1705896f77925.tar.gz
scummvm-rg350-9f97ad6a3e9e10fa7164a4e545c1705896f77925.tar.bz2
scummvm-rg350-9f97ad6a3e9e10fa7164a4e545c1705896f77925.zip
WINTERMUTE: s/*transform/const &transform/
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 6f79d7f3a7..f8c4000324 100644
--- a/engines/wintermute/base/base_sub_frame.cpp
+++ b/engines/wintermute/base/base_sub_frame.cpp
@@ -270,7 +270,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 {