summaryrefslogtreecommitdiff
path: root/src/blitter
diff options
context:
space:
mode:
Diffstat (limited to 'src/blitter')
-rw-r--r--src/blitter/8bpp_base.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/blitter/8bpp_base.cpp b/src/blitter/8bpp_base.cpp
index 78bb90f5e..4bdbfe2df 100644
--- a/src/blitter/8bpp_base.cpp
+++ b/src/blitter/8bpp_base.cpp
@@ -8,7 +8,7 @@
void Blitter_8bppBase::DrawColorMappingRect(void *dst, int width, int height, int pal)
{
- const uint8 *ctab = GetNonSprite(pal) + 1;
+ const uint8 *ctab = GetNonSprite(pal, ST_RECOLOUR) + 1;
do {
for (int i = 0; i != width; i++) *((uint8 *)dst + i) = ctab[((uint8 *)dst)[i]];