Make wallsetup globals local to where they are used

This commit is contained in:
Magnus Norddahl 2017-01-24 07:06:47 +01:00
commit b256f6ed89
9 changed files with 38 additions and 32 deletions

View file

@ -27,12 +27,6 @@
namespace swrenderer
{
ProjectedWallLine walltop;
ProjectedWallLine wallbottom;
ProjectedWallLine wallupper;
ProjectedWallLine walllower;
ProjectedWallTexcoords walltexcoords;
ProjectedWallCull ProjectedWallLine::Project(double z, const FWallCoords *wallc)
{
return Project(z, z, wallc);