mirror of
https://github.com/ZDoom/raze-gles.git
synced 2024-12-29 04:50:42 +00:00
- fixed sprite animations.
This commit is contained in:
parent
7bd2b33e39
commit
021799573e
2 changed files with 2 additions and 2 deletions
|
@ -495,7 +495,7 @@ void animatesprites_d(int x,int y,int a,int smoothratio)
|
|||
break;
|
||||
}
|
||||
|
||||
if (ScriptCode[actorinfo[s->picnum].scriptaddress])
|
||||
if (actorinfo[s->picnum].scriptaddress)
|
||||
{
|
||||
if(t4)
|
||||
{
|
||||
|
|
|
@ -635,7 +635,7 @@ void animatesprites_r(int x,int y,int a,int smoothratio)
|
|||
break;
|
||||
}
|
||||
|
||||
if( ScriptCode[actorinfo[s->picnum].scriptaddress] && (t->cstat & 48) != 48)
|
||||
if(actorinfo[s->picnum].scriptaddress && (t->cstat & 48) != 48)
|
||||
{
|
||||
if(t4)
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue