From 868c9c9a87cccdfaf8b2af85a3185d7ad929f39f Mon Sep 17 00:00:00 2001 From: NepDisk Date: Thu, 17 Jul 2025 14:30:22 -0400 Subject: [PATCH] Mostly fix encore inversion issues with specials --- src/r_bsp.cpp | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/r_bsp.cpp b/src/r_bsp.cpp index 17ff09eef..efb34d870 100644 --- a/src/r_bsp.cpp +++ b/src/r_bsp.cpp @@ -69,7 +69,10 @@ boolean R_NoEncore(sector_t *sector, levelflat_t *flat, boolean ceiling) const terrain_t *terrain = (flat != NULL ? flat->terrain : NULL); const sectorspecialflags_t flags = sector->specialflags; - if (flags & (SSF_SNEAKERPANEL|SSF_WATERPANEL|SSF_YELLOWPOGOSPRING|SSF_REDPOGOSPRING)) + if (!(flags & SSF_SNEAKERPANEL + || flags & SSF_WATERPANEL + || flags & SSF_YELLOWPOGOSPRING + || flags & SSF_REDPOGOSPRING)) { // Automatically handle encore invert for sneaker, water and pogospring panels. return invertEncore;