aboutsummaryrefslogtreecommitdiff
path: root/engines
diff options
context:
space:
mode:
authorEugene Sandulenko2013-07-18 22:14:56 +0300
committerEugene Sandulenko2013-09-06 14:51:02 +0300
commit5add3373fe08897ce43e9c435df7213c03beffac (patch)
tree4983a0a7cb2617a8e6af59c4aefb080ac9271caf /engines
parentade5ad2c74218423af4693f4ceb96be960bd7b44 (diff)
downloadscummvm-rg350-5add3373fe08897ce43e9c435df7213c03beffac.tar.gz
scummvm-rg350-5add3373fe08897ce43e9c435df7213c03beffac.tar.bz2
scummvm-rg350-5add3373fe08897ce43e9c435df7213c03beffac.zip
FULLPIPE: Fix stupid bug in RB bitmap rendering
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 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) {