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
This commit is contained in:
helixhorned 2013-12-06 18:56:42 +00:00
parent a5f0610b38
commit 19da43d23b

View file

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