mirror of
https://github.com/ZDoom/raze-gles.git
synced 2025-01-11 18:50:46 +00:00
Fix EVENT_ANIMATESPRITES.
git-svn-id: https://svn.eduke32.com/eduke32@4784 1a8010ca-5511-0410-912e-c29ae57300e0
This commit is contained in:
parent
89a9010db1
commit
944d64215e
1 changed files with 3 additions and 2 deletions
|
@ -7144,11 +7144,12 @@ static int32_t G_CheckAdultTile(int32_t pic)
|
|||
return 0;
|
||||
}
|
||||
|
||||
static void G_DoEventAnimSprites(int32_t j)
|
||||
static inline void G_DoEventAnimSprites(int32_t j)
|
||||
{
|
||||
const int32_t ow = tsprite[j].owner;
|
||||
|
||||
if (((unsigned) ow >= MAXSPRITES || (spriteext[ow].flags & SPREXT_TSPRACCESS) != SPREXT_TSPRACCESS) || tsprite[j].statnum != TSPR_TEMP)
|
||||
if ((((unsigned)ow >= MAXSPRITES || (spriteext[ow].flags & SPREXT_TSPRACCESS) != SPREXT_TSPRACCESS)) &&
|
||||
tsprite[j].statnum != TSPR_TEMP)
|
||||
return;
|
||||
|
||||
spriteext[ow].tspr = &tsprite[j];
|
||||
|
|
Loading…
Reference in a new issue