Skip to content

Commit

Permalink
WINTERMUTE: Fix incorrect parameter order for getBasePtr.
Browse files Browse the repository at this point in the history
This is a regression from 19fa89b. Thanks to
fuzzie for noticing.
  • Loading branch information
Johannes Schickel committed Aug 6, 2013
1 parent 363a5a9 commit e5f0c42
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion engines/wintermute/graphics/transparent_surface.cpp
Expand Up @@ -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();

Expand Down

0 comments on commit e5f0c42

Please sign in to comment.