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:
plagman 2011-08-20 21:05:24 +00:00
parent 98061f3a38
commit e77548d42a

View file

@ -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) &&