Fix Polymer wall updating

git-svn-id: https://svn.eduke32.com/eduke32@5597 1a8010ca-5511-0410-912e-c29ae57300e0
This commit is contained in:
terminx 2016-01-27 10:28:00 +00:00
parent 6e30845fc7
commit 4861b13c6e

View file

@ -3194,7 +3194,7 @@ static void polymer_updatewall(int16_t wallnum)
(wallpicnum == w->picnum_anim) && (wallpicnum == w->picnum_anim) &&
(walloverpicnum == w->overpicnum_anim) && (walloverpicnum == w->overpicnum_anim) &&
#ifndef UNTRACKED_STRUCTS #ifndef UNTRACKED_STRUCTS
(w->trackedrev == wallchanged[nwallnum]) && (w->trackedrev == wallchanged[wallnum]) &&
#else #else
!Bmemcmp(&wal->cstat, &w->cstat, NBYTES_WALL_CSTAT_THROUGH_YPANNING) && !Bmemcmp(&wal->cstat, &w->cstat, NBYTES_WALL_CSTAT_THROUGH_YPANNING) &&
#endif #endif
@ -3217,7 +3217,7 @@ static void polymer_updatewall(int16_t wallnum)
w->picnum_anim = wallpicnum; w->picnum_anim = wallpicnum;
w->overpicnum_anim = walloverpicnum; w->overpicnum_anim = walloverpicnum;
#ifndef UNTRACKED_STRUCTS #ifndef UNTRACKED_STRUCTS
w->trackedrev = wallchanged[nwallnum]; w->trackedrev = wallchanged[wallnum];
#endif #endif
if (nwallnum >= 0 && nwallnum < numwalls) if (nwallnum >= 0 && nwallnum < numwalls)
{ {