- Fixed crash with wallsprites in the software renderer for real.

This commit is contained in:
drfrag 2019-10-05 17:23:01 +02:00 committed by Christoph Oelckers
parent 338430995e
commit e6c6b617e2

View file

@ -222,6 +222,7 @@ namespace swrenderer
{ {
if (calclighting) if (calclighting)
{ {
drawerargs.SetBaseColormap(spr->Light.BaseColormap);
drawerargs.SetLight(light, spr->sector->lightlevel, spr->foggy, thread->Viewport.get()); drawerargs.SetLight(light, spr->sector->lightlevel, spr->foggy, thread->Viewport.get());
} }
if (!translucentPass->ClipSpriteColumnWithPortals(x, spr)) if (!translucentPass->ClipSpriteColumnWithPortals(x, spr))