diff --git a/polymer/eduke32/build/include/polymer.h b/polymer/eduke32/build/include/polymer.h index 7e000e4df..60b52404c 100644 --- a/polymer/eduke32/build/include/polymer.h +++ b/polymer/eduke32/build/include/polymer.h @@ -246,6 +246,7 @@ typedef struct s_prwall { int8_t shade; char pal, xrepeat, yrepeat, xpanning, ypanning; char nwallxpanning, nwallypanning; + int8_t nwallshade; char underover; uint32_t invalidid; diff --git a/polymer/eduke32/build/src/polymer.c b/polymer/eduke32/build/src/polymer.c index 27402a196..a396ee636 100644 --- a/polymer/eduke32/build/src/polymer.c +++ b/polymer/eduke32/build/src/polymer.c @@ -2790,7 +2790,8 @@ static void polymer_updatewall(int16_t wallnum) ((nwallpicnum == w->nwallpicnum) && (wall[nwallnum].xpanning == w->nwallxpanning) && (wall[nwallnum].ypanning == w->nwallypanning) && - (wall[nwallnum].cstat == w->nwallcstat)))) + (wall[nwallnum].cstat == w->nwallcstat) && + (wall[nwallnum].shade == w->nwallshade)))) { w->flags.uptodate = 1; return; // screw you guys I'm going home @@ -2816,6 +2817,7 @@ static void polymer_updatewall(int16_t wallnum) w->nwallxpanning = wall[nwallnum].xpanning; w->nwallypanning = wall[nwallnum].ypanning; w->nwallcstat = wall[nwallnum].cstat; + w->nwallshade = wall[nwallnum].shade; } }