summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorpeter1138 <peter1138@openttd.org>2017-03-30 21:33:40 +0000
committerpeter1138 <peter1138@openttd.org>2017-03-30 21:33:40 +0000
commit86430757bfadc8bc5481fb41fa6e1898740badbd (patch)
treee7fd99c0283662c94f50c4b210066cc32e62d9be
parent5594f262c76dfdc8df747b7a11e7363dca42139f (diff)
downloadopenttd-86430757bfadc8bc5481fb41fa6e1898740badbd.tar.xz
(svn r27837) -Fix (r26969): Black remap did nothing in 8bpp-simple blitter.
-rw-r--r--src/blitter/8bpp_simple.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/blitter/8bpp_simple.cpp b/src/blitter/8bpp_simple.cpp
index ed5dd3f7a..2131a0468 100644
--- a/src/blitter/8bpp_simple.cpp
+++ b/src/blitter/8bpp_simple.cpp
@@ -48,7 +48,7 @@ void Blitter_8bppSimple::Draw(Blitter::BlitterParams *bp, BlitterMode mode, Zoom
break;
case BM_BLACK_REMAP:
- colour = 0;
+ if (*src != 0) *dst = 0;
break;
default: