This commit is contained in:
Christoph Oelckers 2016-07-30 11:45:19 +02:00
commit b52d457146

View file

@ -705,8 +705,6 @@ bool GLWall::PrepareLight(ADynamicLight * light, int pass)
return false; return false;
} }
if (tcs != NULL)
{
Vector t1; Vector t1;
int outcnt[4] = { 0,0,0,0 }; int outcnt[4] = { 0,0,0,0 };
@ -726,7 +724,6 @@ bool GLWall::PrepareLight(ADynamicLight * light, int pass)
} }
// The light doesn't touch this polygon // The light doesn't touch this polygon
if (outcnt[0] == 4 || outcnt[1] == 4 || outcnt[2] == 4 || outcnt[3] == 4) return false; if (outcnt[0] == 4 || outcnt[1] == 4 || outcnt[2] == 4 || outcnt[3] == 4) return false;
}
draw_dlight++; draw_dlight++;
return true; return true;