- fixed palette initialization for single lump fonts (FON2 and BMF)

The bad increment was due to the palette being a byte array in older versions.
This commit is contained in:
Christoph Oelckers 2021-10-06 20:30:29 +02:00
parent a8ea5bef00
commit 60bf096912
1 changed files with 1 additions and 1 deletions

View File

@ -527,7 +527,7 @@ void FSingleLumpFont::FixupPalette (uint8_t *identity, const PalEntry *palette,
double minlum = 100000000.0;
identity[0] = 0;
palette += 3; // Skip the transparent color
palette++; // Skip the transparent color
for (int i = 1; i < ActiveColors; ++i, palette ++)
{