mirror of
https://github.com/ZDoom/raze-gles.git
synced 2024-12-26 11:40:44 +00:00
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:
parent
a5f0610b38
commit
19da43d23b
1 changed files with 2 additions and 0 deletions
|
@ -2387,6 +2387,8 @@ static int32_t polymer_updatesector(int16_t sectnum)
|
||||||
s->floorheinum = sec->floorheinum;
|
s->floorheinum = sec->floorheinum;
|
||||||
s->ceilingheinum = sec->ceilingheinum;
|
s->ceilingheinum = sec->ceilingheinum;
|
||||||
}
|
}
|
||||||
|
else if (sec->visibility != s->visibility)
|
||||||
|
wallinvalidate = 1;
|
||||||
|
|
||||||
floorpicnum = sec->floorpicnum;
|
floorpicnum = sec->floorpicnum;
|
||||||
DO_TILE_ANIM(floorpicnum, sectnum);
|
DO_TILE_ANIM(floorpicnum, sectnum);
|
||||||
|
|
Loading…
Reference in a new issue