test make skyfloors also toggle directional light
This commit is contained in:
1 parent
d607d7bd7c
commit
b5cd4ab8cd
1 file changed
+1
-1
+1
-1
@@ -438,7 +438,7 @@ boolean P_SectorUsesDirectionalLighting(const sector_t *sector)
|
||||
if (sector != NULL)
|
||||
{
|
||||
// automatically turned on
|
||||
if (sector->ceilingpic == skyflatnum)
|
||||
if (sector->ceilingpic == skyflatnum || sector->floorpic == skyflatnum)
|
||||
{
|
||||
// sky is visible
|
||||
return true;
|
||||
|
||||
Reference in new issue
Block a user