From 4861b13c6e53240147a8a6374c59f3339e48230e Mon Sep 17 00:00:00 2001 From: terminx Date: Wed, 27 Jan 2016 10:28:00 +0000 Subject: [PATCH] Fix Polymer wall updating git-svn-id: https://svn.eduke32.com/eduke32@5597 1a8010ca-5511-0410-912e-c29ae57300e0 --- polymer/eduke32/build/src/polymer.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/polymer/eduke32/build/src/polymer.c b/polymer/eduke32/build/src/polymer.c index 38b0870df..4ce661543 100644 --- a/polymer/eduke32/build/src/polymer.c +++ b/polymer/eduke32/build/src/polymer.c @@ -3194,7 +3194,7 @@ static void polymer_updatewall(int16_t wallnum) (wallpicnum == w->picnum_anim) && (walloverpicnum == w->overpicnum_anim) && #ifndef UNTRACKED_STRUCTS - (w->trackedrev == wallchanged[nwallnum]) && + (w->trackedrev == wallchanged[wallnum]) && #else !Bmemcmp(&wal->cstat, &w->cstat, NBYTES_WALL_CSTAT_THROUGH_YPANNING) && #endif @@ -3217,7 +3217,7 @@ static void polymer_updatewall(int16_t wallnum) w->picnum_anim = wallpicnum; w->overpicnum_anim = walloverpicnum; #ifndef UNTRACKED_STRUCTS - w->trackedrev = wallchanged[nwallnum]; + w->trackedrev = wallchanged[wallnum]; #endif if (nwallnum >= 0 && nwallnum < numwalls) {