From e77548d42af567bf45a42450bada3b4ab9530779 Mon Sep 17 00:00:00 2001 From: plagman Date: Sat, 20 Aug 2011 21:05:24 +0000 Subject: [PATCH] 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 --- polymer/eduke32/build/src/polymer.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/polymer/eduke32/build/src/polymer.c b/polymer/eduke32/build/src/polymer.c index c2f4b281c..8ef78efbf 100644 --- a/polymer/eduke32/build/src/polymer.c +++ b/polymer/eduke32/build/src/polymer.c @@ -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; if (!depth && (overridematerial & prprogrambits[PR_BIT_MIRROR_MAP].bit) &&