mirror of
https://github.com/ZDoom/raze-gles.git
synced 2025-01-12 19:20:38 +00:00
Fix Polymer wall updating
git-svn-id: https://svn.eduke32.com/eduke32@5597 1a8010ca-5511-0410-912e-c29ae57300e0
This commit is contained in:
parent
6e30845fc7
commit
4861b13c6e
1 changed files with 2 additions and 2 deletions
|
@ -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)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in a new issue