mirror of
https://github.com/ZDoom/raze-gles.git
synced 2024-11-10 23:02:03 +00:00
Even more minor fix to previous commit
git-svn-id: https://svn.eduke32.com/eduke32@7769 1a8010ca-5511-0410-912e-c29ae57300e0
This commit is contained in:
parent
8e8a1334e9
commit
bf94922b27
1 changed files with 1 additions and 3 deletions
|
@ -3908,7 +3908,7 @@ void G_DoSpriteAnimations(int32_t ourx, int32_t oury, int32_t oura, int32_t smoo
|
|||
break;
|
||||
|
||||
case RECON__STATIC:
|
||||
if (tilehasmodelorvoxel(t->picnum,t->pal) >= 0 && !(spriteext[i].flags&SPREXT_NOTMD))
|
||||
if (tilehasmodelorvoxel(t->picnum,t->pal) && !(spriteext[i].flags&SPREXT_NOTMD))
|
||||
{
|
||||
t->cstat &= ~4;
|
||||
break;
|
||||
|
@ -4353,14 +4353,12 @@ skip:
|
|||
t->shade = sprite[pSprite->owner].shade;
|
||||
if (haveAction)
|
||||
break;
|
||||
#ifdef USE_OPENGL
|
||||
if (tilehasmodelorvoxel(pSprite->picnum,pSprite->pal) && !(spriteext[i].flags&SPREXT_NOTMD))
|
||||
{
|
||||
frameOffset = 0;
|
||||
t->cstat &= ~4;
|
||||
}
|
||||
else
|
||||
#endif
|
||||
frameOffset = getofs_viewtype_mirrored<5>(t->cstat, t->ang - oura);
|
||||
|
||||
t->picnum = pSprite->picnum+frameOffset+((T1(i)<4)*5);
|
||||
|
|
Loading…
Reference in a new issue