Part of patch #739119 (attempt to fix bug #651077 at least partially)

svn-id: r7643
This commit is contained in:
Max Horn 2003-05-18 19:51:50 +00:00
parent 8f7f22aeae
commit 7ec709e35f

View File

@ -3104,9 +3104,9 @@ void Scumm::createSpecialPalette(int16 from, int16 to, int16 redScale, int16 gre
int g = (int) (*curPtr++ * greenScale) >> 8;
int b = (int) (*curPtr++ * blueScale) >> 8;
searchPtr = palPtr;
searchPtr = palPtr + from * 3;
bestResult = 32000;
currentIndex = 0;
currentIndex = from;
for (j = from; j < to; j++) {
int ar = (*searchPtr++);