diff options
author | Eugene Sandulenko | 2016-05-13 00:27:37 +0200 |
---|---|---|
committer | Eugene Sandulenko | 2016-05-13 00:27:37 +0200 |
commit | 1585727ee0376c4a03c2e1e4b34569749af11b10 (patch) | |
tree | 694f59be07abcb97d101faed9a97eb885ef9ff04 /engines/scumm/he/moonbase | |
parent | 8d08912d223ffb3112107b58b7ff51e0aba56448 (diff) | |
download | scummvm-rg350-1585727ee0376c4a03c2e1e4b34569749af11b10.tar.gz scummvm-rg350-1585727ee0376c4a03c2e1e4b34569749af11b10.tar.bz2 scummvm-rg350-1585727ee0376c4a03c2e1e4b34569749af11b10.zip |
SCUMM HE: Fix T14 special mode blending.
This fixe energy shield color.
Diffstat (limited to 'engines/scumm/he/moonbase')
-rw-r--r-- | engines/scumm/he/moonbase/moonbase.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/engines/scumm/he/moonbase/moonbase.cpp b/engines/scumm/he/moonbase/moonbase.cpp index c07bd986d8..34d4368725 100644 --- a/engines/scumm/he/moonbase/moonbase.cpp +++ b/engines/scumm/he/moonbase/moonbase.cpp @@ -155,8 +155,7 @@ void Moonbase::blitT14WizImage(uint8 *dst, int dstw, int dsth, int dstPitch, con } else { uint32 pix = ((orig << 16) | orig) & 0x3e07c1f; pix = (((pix * alpha) & 0xffffffff) >> 5) & 0x3e07c1f; - pix = ((pix << 16) + pix + color) & 0xffff; - + pix = ((pix >> 16) + pix + color) & 0xffff; WRITE_LE_UINT16(dst1, pix); } } |