aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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 f1f1700431..c59ab6303f 100644
--- a/engines/fullpipe/gfx.cpp
+++ b/engines/fullpipe/gfx.cpp
@@ -440,7 +440,7 @@ void Bitmap::putDib(int x, int y, int32 *palette) {
pixel1 = *srcPtr;
srcPtr++;
- pos += (byte)(pixel1 && 0xff);
+ pos += (byte)(pixel1 & 0xff);
pixel1High = (pixel1 >> 8) & 0xff;
if (pixel1High) {