h
This commit is contained in:
1 parent
740e8f36e5
commit
a8fdae7abc
1 file changed
+2
-2
@@ -709,9 +709,9 @@ static void HWR_RenderPlane(subsector_t *subsector, extrasubsector_t *xsub, bool
|
||||
|
||||
lightlevel = HWR_CalcSlopeLight(lightlevel, slope, gl_frontsector, (FOFsector != NULL));
|
||||
|
||||
if (havesnakerpad || havepazrcst || havefaytpad)
|
||||
if (lightlevel != 255 && subsector && (havesnakerpad || havepazrcst || havefaytpad))
|
||||
{
|
||||
if ((lightlevel != 255) && subsector && subsector->sector && (lumpnum != LUMPERROR))
|
||||
if (subsector->sector && (lumpnum != LUMPERROR))
|
||||
{
|
||||
const char *name = W_CheckNameForNum(lumpnum);
|
||||
|
||||
|
||||
Reference in new issue
Block a user