Switch to true color for translated sprites
This commit is contained in:
parent
366d494b18
commit
f82195bc49
3 changed files with 20 additions and 11 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue