mirror of
https://github.com/ZDoom/raze-gles.git
synced 2024-11-10 23:02:03 +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,7 +5150,8 @@ static void classicDrawSprite(int32_t snum)
|
|||
|
||||
int32_t cstat=tspr->cstat, tilenum;
|
||||
|
||||
tileUpdatePicnum(&tspr->picnum, spritenum+32768);
|
||||
if ((cstat&48) != 48)
|
||||
tileUpdatePicnum(&tspr->picnum, spritenum+32768);
|
||||
|
||||
if (!(cstat&2) && alpha > 0.0f)
|
||||
{
|
||||
|
|
|
@ -5913,7 +5913,8 @@ void polymost_drawsprite(int32_t snum)
|
|||
|
||||
polymost_outputGLDebugMessage(3, "polymost_drawsprite(snum:%d)", snum);
|
||||
|
||||
tileUpdatePicnum(&tspr->picnum, spritenum + 32768);
|
||||
if ((tspr->cstat&48) != 48)
|
||||
tileUpdatePicnum(&tspr->picnum, spritenum + 32768);
|
||||
|
||||
globalpicnum = tspr->picnum;
|
||||
globalshade = tspr->shade;
|
||||
|
|
Loading…
Reference in a new issue