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

@ -128,7 +128,7 @@ namespace swrenderer
if (thing->flags5 & MF5_BRIGHT) vis->renderflags |= RF_FULLBRIGHT; // kg3D
vis->RenderStyle = thing->RenderStyle;
vis->FillColor = thing->fillcolor;
vis->Translation = thing->Translation.index();
vis->Translation = thing->Translation;
vis->FakeFlatStat = WaterFakeSide::Center;
vis->Alpha = float(thing->Alpha);
vis->fakefloor = NULL;