- fixed: The color for untranslated font was missing its alpha channel.

This commit is contained in:
Christoph Oelckers 2017-08-12 12:04:40 +02:00
parent 163b10286f
commit aa8424982c

View file

@ -766,6 +766,7 @@ FRemapTable *FFont::GetColorTranslation (EColorRange range, PalEntry *color) con
if (range >= 0 && range < NumTextColors && range != CR_UNTRANSLATED) if (range >= 0 && range < NumTextColors && range != CR_UNTRANSLATED)
{ {
retcolor = TranslationColors[range]; retcolor = TranslationColors[range];
retcolor.a = 255;
} }
if (color != nullptr) *color = retcolor; if (color != nullptr) *color = retcolor;
} }