This commit is contained in:
parent
1237239ec1
commit
af17354190
1 changed files with 1 additions and 0 deletions
|
@ -667,6 +667,7 @@ int AspectX0,AspectX1;
|
||||||
POLY_FT4 *CActorGfx::Render(DVECTOR &Pos,int Anim,int Frame,bool XFlip,bool YFlip)
|
POLY_FT4 *CActorGfx::Render(DVECTOR &Pos,int Anim,int Frame,bool XFlip,bool YFlip)
|
||||||
{
|
{
|
||||||
sPoolNode *ThisNode=CacheFrame(Anim,Frame);
|
sPoolNode *ThisNode=CacheFrame(Anim,Frame);
|
||||||
|
if (!ThisNode) return(0); // Blank Frame
|
||||||
POLY_FT4 *Ft4=GetPrimFT4();
|
POLY_FT4 *Ft4=GetPrimFT4();
|
||||||
|
|
||||||
SetUpFT4(Ft4,ThisNode,Pos.vx,Pos.vy,XFlip,YFlip);
|
SetUpFT4(Ft4,ThisNode,Pos.vx,Pos.vy,XFlip,YFlip);
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue