oops. reverted last change.

svn-id: r18938
This commit is contained in:
Eugene Sandulenko 2005-10-05 02:01:52 +00:00
parent b76d1b36ae
commit b332ea95ec

View File

@ -203,8 +203,8 @@ void Gfx::setPalette(const PalEntry *pal, bool full) {
from = 0;
numcolors = PAL_ENTRIES;
} else {
from = 1;
numcolors = 247;
from = 0;
numcolors = 248;
}
for (i = 0, ppal = &_currentPal[from * 4]; i < numcolors; i++, ppal += 4) {
@ -273,8 +273,8 @@ void Gfx::palToBlack(PalEntry *srcPal, double percent) {
from = 0;
numcolors = PAL_ENTRIES;
} else {
from = 1;
numcolors = 247;
from = 0;
numcolors = 248;
}
if (percent > 1.0) {
@ -338,8 +338,8 @@ void Gfx::blackToPal(PalEntry *srcPal, double percent) {
from = 0;
numcolors = PAL_ENTRIES;
} else {
from = 1;
numcolors = 247;
from = 0;
numcolors = 248;
}
if (percent > 1.0) {