aboutsummaryrefslogtreecommitdiff
path: root/engines
diff options
context:
space:
mode:
authorJohannes Schickel2013-08-06 20:11:27 +0200
committerJohannes Schickel2013-08-06 20:11:27 +0200
commite5f0c42a65f38611272542a144228753e0496493 (patch)
treecbce97b61786f34ec81526b0d9f530ba1d10518a /engines
parent363a5a95cf9b6f69ba9b04615022431d3f79dbc6 (diff)
downloadscummvm-rg350-e5f0c42a65f38611272542a144228753e0496493.tar.gz
scummvm-rg350-e5f0c42a65f38611272542a144228753e0496493.tar.bz2
scummvm-rg350-e5f0c42a65f38611272542a144228753e0496493.zip
WINTERMUTE: Fix incorrect parameter order for getBasePtr.
This is a regression from 19fa89b8f58df702c5cb16d03a9cb51c1acce7ab. Thanks to fuzzie for noticing.
Diffstat (limited to 'engines')
-rw-r--r--engines/wintermute/graphics/transparent_surface.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/wintermute/graphics/transparent_surface.cpp b/engines/wintermute/graphics/transparent_surface.cpp
index 459669154a..53380a2d55 100644
--- a/engines/wintermute/graphics/transparent_surface.cpp
+++ b/engines/wintermute/graphics/transparent_surface.cpp
@@ -310,7 +310,7 @@ Common::Rect TransparentSurface::blit(Graphics::Surface &target, int posX, int p
}
if (pPartRect) {
- srcImage.pixels = getBasePtr(pPartRect->top, pPartRect->left);
+ srcImage.pixels = getBasePtr(pPartRect->left, pPartRect->top);
srcImage.w = pPartRect->width();
srcImage.h = pPartRect->height();