mirror of
https://github.com/ZDoom/raze-gles.git
synced 2025-01-12 11:10:39 +00:00
Correct ceiling palette and shade validation in Polymer. That fix prevents changes to a ceiling palettes or shade from being ignored until the sector gets otherwise invalidated.
git-svn-id: https://svn.eduke32.com/eduke32@1555 1a8010ca-5511-0410-912e-c29ae57300e0
This commit is contained in:
parent
905abc3091
commit
0888dbc38e
1 changed files with 4 additions and 0 deletions
|
@ -2072,7 +2072,9 @@ attributes:
|
||||||
|
|
||||||
if ((!s->flags.empty) && (!s->flags.invalidtex) &&
|
if ((!s->flags.empty) && (!s->flags.invalidtex) &&
|
||||||
(sec->floorshade == s->floorshade) &&
|
(sec->floorshade == s->floorshade) &&
|
||||||
|
(sec->ceilingshade == s->ceilingshade) &&
|
||||||
(sec->floorpal == s->floorpal) &&
|
(sec->floorpal == s->floorpal) &&
|
||||||
|
(sec->ceilingpal == s->ceilingpal) &&
|
||||||
(floorpicnum == s->floorpicnum) &&
|
(floorpicnum == s->floorpicnum) &&
|
||||||
(ceilingpicnum == s->ceilingpicnum))
|
(ceilingpicnum == s->ceilingpicnum))
|
||||||
goto finish;
|
goto finish;
|
||||||
|
@ -2083,7 +2085,9 @@ attributes:
|
||||||
s->flags.invalidtex = 0;
|
s->flags.invalidtex = 0;
|
||||||
|
|
||||||
s->floorshade = sec->floorshade;
|
s->floorshade = sec->floorshade;
|
||||||
|
s->ceilingshade = sec->ceilingshade;
|
||||||
s->floorpal = sec->floorpal;
|
s->floorpal = sec->floorpal;
|
||||||
|
s->ceilingpal = sec->ceilingpal;
|
||||||
s->floorpicnum = floorpicnum;
|
s->floorpicnum = floorpicnum;
|
||||||
s->ceilingpicnum = ceilingpicnum;
|
s->ceilingpicnum = ceilingpicnum;
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue