mirror of
https://github.com/ZDoom/raze-gles.git
synced 2024-12-25 03:00:46 +00:00
Polymer: Don't draw 1-way walls twice.
Previously they would get counted both as 1-way walls for immediate drawing and as mask walls for delayed drawing. git-svn-id: https://svn.eduke32.com/eduke32@1979 1a8010ca-5511-0410-912e-c29ae57300e0
This commit is contained in:
parent
98061f3a38
commit
e77548d42a
1 changed files with 1 additions and 1 deletions
|
@ -1567,7 +1567,7 @@ static void polymer_displayrooms(int16_t dacursectnum)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
if (wall[sec->wallptr + i].cstat & 48)
|
if ((wall[sec->wallptr + i].cstat & 48) == 16)
|
||||||
localmaskwall[localmaskwallcnt++] = sec->wallptr + i;
|
localmaskwall[localmaskwallcnt++] = sec->wallptr + i;
|
||||||
|
|
||||||
if (!depth && (overridematerial & prprogrambits[PR_BIT_MIRROR_MAP].bit) &&
|
if (!depth && (overridematerial & prprogrambits[PR_BIT_MIRROR_MAP].bit) &&
|
||||||
|
|
Loading…
Reference in a new issue