use translation IDs in the software renderer.

This commit is contained in:
Christoph Oelckers 2023-11-09 22:42:03 +01:00
commit c426094d54
11 changed files with 27 additions and 29 deletions

View file

@ -173,7 +173,7 @@ namespace swrenderer
vis->RenderStyle = LegacyRenderStyles[STYLE_Normal];
}
vis->FillColor = thing->fillcolor;
vis->Translation = thing->Translation.index(); // [RH] thing translation table
vis->Translation = thing->Translation; // [RH] thing translation table
vis->FakeFlatStat = fakeside;
vis->Alpha = float(thing->Alpha);
vis->fakefloor = fakefloor;