diff options
author | Travis Howell | 2009-11-22 11:36:30 +0000 |
---|---|---|
committer | Travis Howell | 2009-11-22 11:36:30 +0000 |
commit | 6c2cc3e1bbc626f671432fa0a37d6317222caa5d (patch) | |
tree | 7ef09354e7b088b829fb983838f0b5099f28b31a | |
parent | 00d1143268bbc296fd69f04628904dbdf25e6ea0 (diff) | |
download | scummvm-rg350-6c2cc3e1bbc626f671432fa0a37d6317222caa5d.tar.gz scummvm-rg350-6c2cc3e1bbc626f671432fa0a37d6317222caa5d.tar.bz2 scummvm-rg350-6c2cc3e1bbc626f671432fa0a37d6317222caa5d.zip |
Removed the incorrect line in CharsetRendererPCE::drawBits1().
svn-id: r46079
-rw-r--r-- | engines/scumm/charset.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/engines/scumm/charset.cpp b/engines/scumm/charset.cpp index 48382dd311..f38c856a58 100644 --- a/engines/scumm/charset.cpp +++ b/engines/scumm/charset.cpp @@ -1092,12 +1092,12 @@ void CharsetRendererPCE::drawBits1(const Graphics::Surface &s, byte *dst, const if ((bits & revBitMask(bitCount % 8)) && y + drawTop >= 0) { if (bitDepth == 2) { if (_shadowMode != kNoShadowMode) { - WRITE_UINT16(dst + s.pitch + 2, 0); + WRITE_UINT16(dst + s.pitch + 2, _vm->_16BitPalette[_shadowColor]); } WRITE_UINT16(dst, _vm->_16BitPalette[_color]); } else { if (_shadowMode != kNoShadowMode) { - *(dst + 1) = _shadowColor; + *(dst + s.pitch + 1) = _shadowColor; } *dst = _color; } |