From b5cd4ab8cd579222a2e7d51f760069de095ce0c7 Mon Sep 17 00:00:00 2001 From: Alug Date: Wed, 27 Nov 2024 00:02:26 +0100 Subject: [PATCH] test make skyfloors also toggle directional light --- src/p_setup.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/p_setup.c b/src/p_setup.c index 6fdd80714..f72f5b6bb 100644 --- a/src/p_setup.c +++ b/src/p_setup.c @@ -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;