R_NoEncore: remove hardcoded condition for trick panels, sneaker panels, speed pads

This commit is contained in:
James R 2023-12-22 05:13:26 -08:00
parent 73e032573d
commit a589b4961e

View file

@ -58,10 +58,7 @@ boolean R_NoEncore(sector_t *sector, levelflat_t *flat, boolean ceiling)
const boolean invertEncore = (sector->flags & MSF_INVERTENCORE);
const terrain_t *terrain = (flat != NULL ? flat->terrain : NULL);
if ((terrain == NULL) || (terrain->flags & TRF_REMAP)
|| (terrain->trickPanel <= 0
&& terrain->speedPad <= 0
&& !(terrain->flags & TRF_SNEAKERPANEL)))
if ((terrain == NULL) || (terrain->flags & TRF_REMAP))
{
return invertEncore;
}