Mostly fix encore inversion issues with specials
This commit is contained in:
parent
b051e142c1
commit
868c9c9a87
1 changed files with 4 additions and 1 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Reference in a new issue