mirror of
https://github.com/ZDoom/raze-gles.git
synced 2024-11-11 07:11:39 +00:00
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:
parent
164d5b83a8
commit
ec25bfa281
1 changed files with 1 additions and 1 deletions
|
@ -4170,7 +4170,7 @@ void polymost_drawmaskwall(int32_t damaskwallcnt)
|
||||||
int method = DAMETH_MASK | DAMETH_WALL;
|
int method = DAMETH_MASK | DAMETH_WALL;
|
||||||
|
|
||||||
if (wal->cstat & 128)
|
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));
|
calc_and_apply_fog(wal->picnum, fogpal_shade(sec, wal->shade), sec->visibility, get_floor_fogpal(sec));
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue