[Scummvm-cvs-logs] scummvm master -> 82fca783b38a01d402043082e9862623f61904eb
lordhoto
lordhoto at gmail.com
Tue Feb 23 23:03:57 CET 2016
This automated email contains information about 2 new commits which have been
pushed to the 'scummvm' repo located at https://github.com/scummvm/scummvm .
Summary:
a4b3131209 WINTERMUTE: Fix order of arguments in sprite rotation
82fca783b3 Merge pull request #679 from tobiatesan/fix_roto
Commit: a4b31312091f841cfb58c9d18d676302ee08c4ca
https://github.com/scummvm/scummvm/commit/a4b31312091f841cfb58c9d18d676302ee08c4ca
Author: Tobia Tesan (tobia.tesan at gmail.com)
Date: 2016-02-23T22:49:40+01:00
Commit Message:
WINTERMUTE: Fix order of arguments in sprite rotation
Changed paths:
engines/wintermute/base/base_sub_frame.cpp
diff --git a/engines/wintermute/base/base_sub_frame.cpp b/engines/wintermute/base/base_sub_frame.cpp
index 4388942..6d0c48f 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);
Commit: 82fca783b38a01d402043082e9862623f61904eb
https://github.com/scummvm/scummvm/commit/82fca783b38a01d402043082e9862623f61904eb
Author: Johannes Schickel (lordhoto at gmail.com)
Date: 2016-02-23T23:03:23+01:00
Commit Message:
Merge pull request #679 from tobiatesan/fix_roto
WINTERMUTE: Fix order of arguments in sprite rotation
Changed paths:
engines/wintermute/base/base_sub_frame.cpp
More information about the Scummvm-git-logs
mailing list