- fixed sprite animations.

This commit is contained in:
Christoph Oelckers 2020-07-05 23:22:35 +02:00
parent 7bd2b33e39
commit 021799573e
2 changed files with 2 additions and 2 deletions

View file

@ -495,7 +495,7 @@ void animatesprites_d(int x,int y,int a,int smoothratio)
break; break;
} }
if (ScriptCode[actorinfo[s->picnum].scriptaddress]) if (actorinfo[s->picnum].scriptaddress)
{ {
if(t4) if(t4)
{ {

View file

@ -635,7 +635,7 @@ void animatesprites_r(int x,int y,int a,int smoothratio)
break; break;
} }
if( ScriptCode[actorinfo[s->picnum].scriptaddress] && (t->cstat & 48) != 48) if(actorinfo[s->picnum].scriptaddress && (t->cstat & 48) != 48)
{ {
if(t4) if(t4)
{ {