Fix transparent masked walls in Polymost

git-svn-id: https://svn.eduke32.com/eduke32@5948 1a8010ca-5511-0410-912e-c29ae57300e0
This commit is contained in:
terminx 2016-12-04 22:53:56 +00:00
parent 164d5b83a8
commit ec25bfa281
1 changed files with 1 additions and 1 deletions

View File

@ -4170,7 +4170,7 @@ void polymost_drawmaskwall(int32_t damaskwallcnt)
int method = DAMETH_MASK | DAMETH_WALL;
if (wal->cstat & 128)
method = DAMETH_WALL | ((wal->cstat & 512)) ? DAMETH_TRANS2 : DAMETH_TRANS1;
method = DAMETH_WALL | (((wal->cstat & 512)) ? DAMETH_TRANS2 : DAMETH_TRANS1);
calc_and_apply_fog(wal->picnum, fogpal_shade(sec, wal->shade), sec->visibility, get_floor_fogpal(sec));