mirror of
https://github.com/ZDoom/raze-gles.git
synced 2024-12-24 10:40:46 +00:00
Fixed possible crash
git-svn-id: https://svn.eduke32.com/eduke32@1059 1a8010ca-5511-0410-912e-c29ae57300e0
This commit is contained in:
parent
7da94e0041
commit
b664f7686e
1 changed files with 1 additions and 1 deletions
|
@ -7458,7 +7458,7 @@ PALONLY:
|
|||
do
|
||||
{
|
||||
if (display_mirror) tsprite[j].statnum = TSPR_MIRROR;
|
||||
if (spriteext[tsprite[j].owner].flags & SPREXT_TSPRACCESS && tsprite[j].owner < MAXSPRITES && tsprite[j].owner > 0)
|
||||
if (tsprite[j].owner < MAXSPRITES && tsprite[j].owner > 0 && spriteext[tsprite[j].owner].flags & SPREXT_TSPRACCESS)
|
||||
{
|
||||
OnEvent(EVENT_ANIMATESPRITES,tsprite[j].owner, myconnectindex, -1);
|
||||
spriteext[tsprite[j].owner].tspr = NULL;
|
||||
|
|
Loading…
Reference in a new issue