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;