Added wall sprite support. Unfortunately it would seem that a bullet hole is not a wall sprite..

This commit is contained in:
Magnus Norddahl 2016-11-16 22:31:49 +01:00
commit 59f7dedfb4
4 changed files with 98 additions and 4 deletions

View file

@ -183,7 +183,7 @@ void RenderPolyScene::RenderTranslucent()
else if ((obj.thing->renderflags & RF_SPRITETYPEMASK) == RF_WALLSPRITE)
{
RenderPolyWallSprite wallspr;
wallspr.Render(obj.thing, obj.sub, obj.subsectorDepth);
wallspr.Render(WorldToClip, obj.thing, obj.sub, obj.subsectorDepth);
}
else
{