diff options
author | Paul Gilbert | 2019-08-31 16:42:33 -0700 |
---|---|---|
committer | Paul Gilbert | 2019-08-31 16:42:40 -0700 |
commit | ada09b816240d1a57ed1d50e47342096ed232665 (patch) | |
tree | 519072f3b8138d2b0f245c2c77c12f79b7be6a5f /engines/xeen/sprites.cpp | |
parent | a7399c5111cc7ebeea284498a1ee5ac7542bb96d (diff) | |
download | scummvm-rg350-ada09b816240d1a57ed1d50e47342096ed232665.tar.gz scummvm-rg350-ada09b816240d1a57ed1d50e47342096ed232665.tar.bz2 scummvm-rg350-ada09b816240d1a57ed1d50e47342096ed232665.zip |
XEEN: Fix rendering of Count Blackfang
Diffstat (limited to 'engines/xeen/sprites.cpp')
-rw-r--r-- | engines/xeen/sprites.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/engines/xeen/sprites.cpp b/engines/xeen/sprites.cpp index 4ac53835d5..fdd1f322e4 100644 --- a/engines/xeen/sprites.cpp +++ b/engines/xeen/sprites.cpp @@ -517,14 +517,14 @@ void SpriteDrawer5::rcr(uint16 &val, bool &cf) { /*------------------------------------------------------------------------*/ -const byte DRAWER6_COLOR[16] = { 1, 2, 4, 8, 1, 3, 7, 15, 8, 12, 14, 15, 1, 2, 1, 2 }; +const byte DRAWER6_MASK[16] = { 1, 2, 4, 8, 1, 3, 7, 15, 8, 12, 14, 15, 1, 2, 1, 2 }; SpriteDrawer6::SpriteDrawer6(byte *data, size_t filesize, int index) : SpriteDrawer(data, filesize) { - _color = DRAWER6_COLOR[index]; + _mask = DRAWER6_MASK[index]; } void SpriteDrawer6::drawPixel(byte *dest, byte pixel) { - *dest = _color; + *dest = pixel ^ _mask; } } // End of namespace Xeen |