From 19da43d23bdef52b9ee29c1578cf4db9110c8014 Mon Sep 17 00:00:00 2001 From: helixhorned Date: Fri, 6 Dec 2013 18:56:42 +0000 Subject: [PATCH] Polymer: invalidate a wall when its sector's visibility has changed. git-svn-id: https://svn.eduke32.com/eduke32@4192 1a8010ca-5511-0410-912e-c29ae57300e0 --- polymer/eduke32/build/src/polymer.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/polymer/eduke32/build/src/polymer.c b/polymer/eduke32/build/src/polymer.c index c3799ade6..9c3f87984 100644 --- a/polymer/eduke32/build/src/polymer.c +++ b/polymer/eduke32/build/src/polymer.c @@ -2387,6 +2387,8 @@ static int32_t polymer_updatesector(int16_t sectnum) s->floorheinum = sec->floorheinum; s->ceilingheinum = sec->ceilingheinum; } + else if (sec->visibility != s->visibility) + wallinvalidate = 1; floorpicnum = sec->floorpicnum; DO_TILE_ANIM(floorpicnum, sectnum);