mirror of
https://github.com/ZDoom/raze-gles.git
synced 2024-12-25 03:00:46 +00:00
Polymer: Correct an oversight in r3580.
git-svn-id: https://svn.eduke32.com/eduke32@5775 1a8010ca-5511-0410-912e-c29ae57300e0
This commit is contained in:
parent
3adda0cbd3
commit
b1b7f13a41
1 changed files with 3 additions and 7 deletions
|
@ -3857,7 +3857,9 @@ void polymer_updatesprite(int32_t snum)
|
|||
|
||||
if (pr_verbosity >= 3) OSD_Printf("PR : Updating sprite %i...\n", snum);
|
||||
|
||||
if (tspr->owner < 0 || tspr->picnum < 0) return;
|
||||
int32_t const curpicnum = tspr->picnum;
|
||||
|
||||
if (tspr->owner < 0 || curpicnum < 0) return;
|
||||
|
||||
s = prsprites[tspr->owner];
|
||||
|
||||
|
@ -3881,9 +3883,6 @@ void polymer_updatesprite(int32_t snum)
|
|||
}
|
||||
}
|
||||
|
||||
int32_t curpicnum = tspr->picnum;
|
||||
DO_TILE_ANIM(curpicnum, tspr->owner+32768);
|
||||
|
||||
if (tspr->cstat & 48 && searchit != 2)
|
||||
{
|
||||
uint32_t const changed = XXH32((uint8_t *) tspr, offsetof(spritetype, owner), 0xDEADBEEF);
|
||||
|
@ -3914,9 +3913,6 @@ void polymer_updatesprite(int32_t snum)
|
|||
s->hash = 0xDEADBEEF;
|
||||
}
|
||||
|
||||
curpicnum = tspr->picnum;
|
||||
DO_TILE_ANIM(curpicnum, tspr->owner+32768);
|
||||
|
||||
if (((tspr->cstat>>4) & 3) == 0)
|
||||
xratio = (float)(tspr->xrepeat) * 0.20f; // 32 / 160
|
||||
else
|
||||
|
|
Loading…
Reference in a new issue