From 6611589905793396aa9cc2a4a8152bca48188a8e Mon Sep 17 00:00:00 2001 From: Retro-Junk Date: Sun, 28 Aug 2016 20:58:17 +0300 Subject: FULLPIPE: Fix alpha mask in Bitmap::isPixelHitAtPos --- engines/fullpipe/gfx.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'engines') diff --git a/engines/fullpipe/gfx.cpp b/engines/fullpipe/gfx.cpp index 174f66a3c8..23cef90c5c 100644 --- a/engines/fullpipe/gfx.cpp +++ b/engines/fullpipe/gfx.cpp @@ -806,7 +806,7 @@ bool Bitmap::isPixelHitAtPos(int x, int y) { if (!_surface) return false; - return ((*((int32 *)_surface->getBasePtr(x - _x, y - _y)) & 0xff000000) != 0); + return ((*((int32 *)_surface->getBasePtr(x - _x, y - _y)) & 0xff) != 0); } void Bitmap::decode(int32 *palette) { -- cgit v1.2.3