diff options
author | Martin Kiewitz | 2009-12-30 21:54:45 +0000 |
---|---|---|
committer | Martin Kiewitz | 2009-12-30 21:54:45 +0000 |
commit | dc5524bda56007c4ea2006bf5f970f35392beb82 (patch) | |
tree | 5b3b0f862c3dfeb5dd341f7ad639fdb659b20616 /engines/sci/gui | |
parent | 046d44ebe075a15fb883728f8c86e2422deffe6c (diff) | |
download | scummvm-rg350-dc5524bda56007c4ea2006bf5f970f35392beb82.tar.gz scummvm-rg350-dc5524bda56007c4ea2006bf5f970f35392beb82.tar.bz2 scummvm-rg350-dc5524bda56007c4ea2006bf5f970f35392beb82.zip |
SCI: palette merging / comment addition
svn-id: r46776
Diffstat (limited to 'engines/sci/gui')
-rw-r--r-- | engines/sci/gui/gui_palette.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/sci/gui/gui_palette.cpp b/engines/sci/gui/gui_palette.cpp index 7d26116941..68b9777286 100644 --- a/engines/sci/gui/gui_palette.cpp +++ b/engines/sci/gui/gui_palette.cpp @@ -210,7 +210,7 @@ void SciGuiPalette::merge(GuiPalette *pFrom, GuiPalette *pTo, uint16 flag) { } // is the same color already at the same position? -> match it directly w/o lookup // this fixes games like lsl1demo/sq5 where the same rgb color exists multiple times and where we would - // otherwise match the wrong one + // otherwise match the wrong one (which would result into the pixels affected (or not) by palette changes) if ((pTo->colors[i].r == pFrom->colors[i].r) && (pTo->colors[i].g == pFrom->colors[i].g) && (pTo->colors[i].b == pFrom->colors[i].b)) { pFrom->mapping[i] = i; continue; |