Move r_scene into a class

This commit is contained in:
Magnus Norddahl 2017-01-14 02:25:02 +01:00
commit 5ea28897af
5 changed files with 36 additions and 23 deletions

View file

@ -638,7 +638,7 @@ namespace swrenderer
linedef = curline->linedef;
// mark the segment as visible for auto map
if (!r_dontmaplines) linedef->flags |= ML_MAPPED;
if (!RenderScene::Instance()->DontMapLines()) linedef->flags |= ML_MAPPED;
midtexture = toptexture = bottomtexture = 0;