aboutsummaryrefslogtreecommitdiff
path: root/engines/scumm/charset.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'engines/scumm/charset.cpp')
-rw-r--r--engines/scumm/charset.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/engines/scumm/charset.cpp b/engines/scumm/charset.cpp
index a12636d9a4..5af0c41d6e 100644
--- a/engines/scumm/charset.cpp
+++ b/engines/scumm/charset.cpp
@@ -971,12 +971,12 @@ void CharsetRendererCommon::drawBits1(const Graphics::Surface &s, byte *dst, con
if ((bits & revBitMask(x % 8)) && y + drawTop >= 0) {
if (bitDepth == 2) {
if (_shadowMode != kNoShadowMode) {
- WRITE_UINT16(dst + 2, _shadowColor);
- WRITE_UINT16(dst + s.pitch, _shadowColor);
+ WRITE_UINT16(dst + 2, _vm->_16BitPalette[_shadowColor]);
+ WRITE_UINT16(dst + s.pitch, _vm->_16BitPalette[_shadowColor]);
if (_shadowMode != kFMTOWNSShadowMode)
- WRITE_UINT16(dst + s.pitch + 2, _shadowColor);
+ WRITE_UINT16(dst + s.pitch + 2, _vm->_16BitPalette[_shadowColor]);
}
- WRITE_UINT16(dst, _color);
+ WRITE_UINT16(dst, _vm->_16BitPalette[_color]);
} else {
if (_shadowMode != kNoShadowMode) {
*(dst + 1) = _shadowColor;