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:
terminx 2019-07-09 05:42:10 +00:00 committed by Christoph Oelckers
parent c96ec9d440
commit 2882609822
2 changed files with 4 additions and 2 deletions

View file

@ -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)
{

View file

@ -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;