mirror of
https://github.com/ZDoom/raze-gles.git
synced 2024-11-13 07:58:04 +00:00
Don't attempt to animate sprites drawn as voxels by picnum
git-svn-id: https://svn.eduke32.com/eduke32@7777 1a8010ca-5511-0410-912e-c29ae57300e0
This commit is contained in:
parent
c96ec9d440
commit
2882609822
2 changed files with 4 additions and 2 deletions
|
@ -5150,6 +5150,7 @@ static void classicDrawSprite(int32_t snum)
|
|||
|
||||
int32_t cstat=tspr->cstat, tilenum;
|
||||
|
||||
if ((cstat&48) != 48)
|
||||
tileUpdatePicnum(&tspr->picnum, spritenum+32768);
|
||||
|
||||
if (!(cstat&2) && alpha > 0.0f)
|
||||
|
|
|
@ -5913,6 +5913,7 @@ void polymost_drawsprite(int32_t snum)
|
|||
|
||||
polymost_outputGLDebugMessage(3, "polymost_drawsprite(snum:%d)", snum);
|
||||
|
||||
if ((tspr->cstat&48) != 48)
|
||||
tileUpdatePicnum(&tspr->picnum, spritenum + 32768);
|
||||
|
||||
globalpicnum = tspr->picnum;
|
||||
|
|
Loading…
Reference in a new issue