aboutsummaryrefslogtreecommitdiff
path: root/engines
diff options
context:
space:
mode:
authorRetro-Junk2016-08-28 20:58:17 +0300
committerEugene Sandulenko2016-08-28 20:05:21 +0200
commit6611589905793396aa9cc2a4a8152bca48188a8e (patch)
treeee4946a11321b0ab725490c2c949a80fed667194 /engines
parent177206cc2efba4a2991f29f67a2d4f68d2bcc899 (diff)
downloadscummvm-rg350-6611589905793396aa9cc2a4a8152bca48188a8e.tar.gz
scummvm-rg350-6611589905793396aa9cc2a4a8152bca48188a8e.tar.bz2
scummvm-rg350-6611589905793396aa9cc2a4a8152bca48188a8e.zip
FULLPIPE: Fix alpha mask in Bitmap::isPixelHitAtPos
Diffstat (limited to 'engines')
-rw-r--r--engines/fullpipe/gfx.cpp2
1 files changed, 1 insertions, 1 deletions
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) {