Fix this if statement
This commit is contained in:
parent
5ce7eef8d8
commit
3decf36748
1 changed files with 1 additions and 1 deletions
|
|
@ -69,7 +69,7 @@ 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)) == (SSF_SNEAKERPANEL|SSF_WATERPANEL|SSF_YELLOWPOGOSPRING|SSF_REDPOGOSPRING))
|
||||
if (flags & (SSF_SNEAKERPANEL|SSF_WATERPANEL|SSF_YELLOWPOGOSPRING|SSF_REDPOGOSPRING))
|
||||
{
|
||||
// Automatically handle encore invert for sneaker, water and pogospring panels.
|
||||
return invertEncore;
|
||||
|
|
|
|||
Loading…
Reference in a new issue