diff options
author | Martin Kiewitz | 2010-10-15 22:19:27 +0000 |
---|---|---|
committer | Martin Kiewitz | 2010-10-15 22:19:27 +0000 |
commit | ffbca0786d8c37b22e8822f7297c3e0ee6f65207 (patch) | |
tree | 83e73eca8d1830bd0f9baa8c915aa1086b4d66e8 /engines/sci/graphics | |
parent | 19272595e746ad7fb867eaa2bea5d1c46543c965 (diff) | |
download | scummvm-rg350-ffbca0786d8c37b22e8822f7297c3e0ee6f65207.tar.gz scummvm-rg350-ffbca0786d8c37b22e8822f7297c3e0ee6f65207.tar.bz2 scummvm-rg350-ffbca0786d8c37b22e8822f7297c3e0ee6f65207.zip |
SCI: fixing iceman undithering door close-up
room 9 (go up right at the start)
svn-id: r53522
Diffstat (limited to 'engines/sci/graphics')
-rw-r--r-- | engines/sci/graphics/view.cpp | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/engines/sci/graphics/view.cpp b/engines/sci/graphics/view.cpp index 773822854b..20ebb9b937 100644 --- a/engines/sci/graphics/view.cpp +++ b/engines/sci/graphics/view.cpp @@ -595,9 +595,10 @@ void GfxView::unditherBitmap(byte *bitmapPtr, int16 width, int16 height, byte cl if (unditherTable[color]) { // Some color with black? Turn colors around, otherwise it won't // be the right color at all. + byte unditheredColor = color; if ((color & 0xF0) == 0) - color = (color << 4) | (color >> 4); - curPtr[0] = color; curPtr[1] = color; + unditheredColor = (color << 4) | (color >> 4); + curPtr[0] = unditheredColor; curPtr[1] = unditheredColor; } curPtr++; } |