diff options
author | Florian Kagerer | 2009-06-27 13:15:47 +0000 |
---|---|---|
committer | Florian Kagerer | 2009-06-27 13:15:47 +0000 |
commit | 7d876f8a199d5b65b2ac8bbf665e1b43f7912170 (patch) | |
tree | 5030da616dd3c1a9d3d2b3ed3e14684e3193213d /engines/kyra | |
parent | a7cb4362b430969d21f9dd57554a7dec3a4f16ee (diff) | |
download | scummvm-rg350-7d876f8a199d5b65b2ac8bbf665e1b43f7912170.tar.gz scummvm-rg350-7d876f8a199d5b65b2ac8bbf665e1b43f7912170.tar.bz2 scummvm-rg350-7d876f8a199d5b65b2ac8bbf665e1b43f7912170.zip |
LOL: fixed regression
svn-id: r41917
Diffstat (limited to 'engines/kyra')
-rw-r--r-- | engines/kyra/screen_lol.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/kyra/screen_lol.cpp b/engines/kyra/screen_lol.cpp index 439e8867a4..cf72d9414a 100644 --- a/engines/kyra/screen_lol.cpp +++ b/engines/kyra/screen_lol.cpp @@ -157,7 +157,7 @@ void Screen_LoL::generateGrayOverlay(const Palette &srcPal, uint8 *grayOverlay, } for (int i = 0; i < lastColor; i++) - grayOverlay[i] = findLeastDifferentColor(tmpPal.getData() + 3 * i, srcPal, lastColor, skipSpecialColors); + grayOverlay[i] = findLeastDifferentColor(tmpPal.getData() + 3 * i, srcPal, 0, lastColor, skipSpecialColors); } uint8 *Screen_LoL::generateLevelOverlay(const Palette &srcPal, uint8 *ovl, int opColor, int weight) { |