diff options
author | Johannes Schickel | 2016-02-23 23:03:23 +0100 |
---|---|---|
committer | Johannes Schickel | 2016-02-23 23:03:23 +0100 |
commit | 82fca783b38a01d402043082e9862623f61904eb (patch) | |
tree | 83a164f191683b6eb88c633de99351f18b6270b6 | |
parent | 22a60e6c0bf75098964ee0a73c60d28715b7a10f (diff) | |
parent | a4b31312091f841cfb58c9d18d676302ee08c4ca (diff) | |
download | scummvm-rg350-82fca783b38a01d402043082e9862623f61904eb.tar.gz scummvm-rg350-82fca783b38a01d402043082e9862623f61904eb.tar.bz2 scummvm-rg350-82fca783b38a01d402043082e9862623f61904eb.zip |
Merge pull request #679 from tobiatesan/fix_roto
WINTERMUTE: Fix order of arguments in sprite rotation
-rw-r--r-- | engines/wintermute/base/base_sub_frame.cpp | 2 |
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 4388942064..6d0c48ff17 100644 --- a/engines/wintermute/base/base_sub_frame.cpp +++ b/engines/wintermute/base/base_sub_frame.cpp @@ -268,7 +268,7 @@ bool BaseSubFrame::draw(int x, int y, BaseObject *registerOwner, float zoomX, fl Common::Point origin(x, y); Common::Point newOrigin; Rect32 oldRect1 = getRect(); - Common::Rect oldRect(oldRect1.top, oldRect1.left, oldRect1.bottom, oldRect1.right); + Common::Rect oldRect(oldRect1.left, oldRect1.top, oldRect1.right, oldRect1.bottom); Common::Point newHotspot; Graphics::TransformStruct transform = Graphics::TransformStruct(zoomX, zoomY, (uint32)rotate, _hotspotX, _hotspotY, blendMode, alpha, _mirrorX, _mirrorY, 0, 0); Rect32 newRect = Graphics::TransformTools::newRect(oldRect, transform, &newHotspot); |