From 0888dbc38ea9f57e6a17a1d45de9b8c800c99473 Mon Sep 17 00:00:00 2001 From: plagman Date: Mon, 7 Dec 2009 07:04:57 +0000 Subject: [PATCH] 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 --- polymer/eduke32/build/src/polymer.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/polymer/eduke32/build/src/polymer.c b/polymer/eduke32/build/src/polymer.c index 7a3b01a14..35780104f 100644 --- a/polymer/eduke32/build/src/polymer.c +++ b/polymer/eduke32/build/src/polymer.c @@ -2072,7 +2072,9 @@ attributes: if ((!s->flags.empty) && (!s->flags.invalidtex) && (sec->floorshade == s->floorshade) && + (sec->ceilingshade == s->ceilingshade) && (sec->floorpal == s->floorpal) && + (sec->ceilingpal == s->ceilingpal) && (floorpicnum == s->floorpicnum) && (ceilingpicnum == s->ceilingpicnum)) goto finish; @@ -2083,7 +2085,9 @@ attributes: s->flags.invalidtex = 0; s->floorshade = sec->floorshade; + s->ceilingshade = sec->ceilingshade; s->floorpal = sec->floorpal; + s->ceilingpal = sec->ceilingpal; s->floorpicnum = floorpicnum; s->ceilingpicnum = ceilingpicnum;