Switch to true color for translated sprites

This commit is contained in:
Magnus Norddahl 2016-10-14 12:10:11 +02:00
commit f82195bc49
3 changed files with 20 additions and 11 deletions

View file

@ -2695,7 +2695,10 @@ ESPSResult R_SetPatchStyle (FRenderStyle style, fixed_t alpha, int translation,
FRemapTable *table = TranslationToTable(translation);
if (table != NULL && !table->Inactive)
{
dc_translation = table->Remap;
if (r_swtruecolor)
dc_translation = (BYTE*)table->Palette;
else
dc_translation = table->Remap;
}
}
basecolormapsave = basecolormap;