This commit is contained in:
parent
b304c75eb9
commit
54daf91c34
1 changed files with 7 additions and 2 deletions
|
@ -56,6 +56,7 @@ void CFXJellyFishLegs::think(int _frames)
|
||||||
/*****************************************************************************/
|
/*****************************************************************************/
|
||||||
const int LegXInc=4;
|
const int LegXInc=4;
|
||||||
|
|
||||||
|
|
||||||
void CFXJellyFishLegs::render()
|
void CFXJellyFishLegs::render()
|
||||||
{
|
{
|
||||||
CThing *Parent=getParent();
|
CThing *Parent=getParent();
|
||||||
|
@ -77,7 +78,10 @@ int XInc=LegXInc;
|
||||||
RenderPos.vx+=Ofs.vx;
|
RenderPos.vx+=Ofs.vx;
|
||||||
RenderPos.vy+=Ofs.vy;
|
RenderPos.vy+=Ofs.vy;
|
||||||
|
|
||||||
if (!XFlip) XInc=-XInc;
|
if (!XFlip)
|
||||||
|
{
|
||||||
|
XInc=-XInc-1;
|
||||||
|
}
|
||||||
for (int i=0; i<LegCount; i++)
|
for (int i=0; i<LegCount; i++)
|
||||||
{
|
{
|
||||||
ThisAngle+=AngleInc;
|
ThisAngle+=AngleInc;
|
||||||
|
@ -87,6 +91,7 @@ int XInc=LegXInc;
|
||||||
|
|
||||||
POLY_FT4 *Ft4;
|
POLY_FT4 *Ft4;
|
||||||
|
|
||||||
|
|
||||||
Ft4=SprBank->printFT4Scaled(FRM__LEG,RenderPos.vx+(i*XInc),RenderPos.vy,XFlip,0,OtPos,Scale>>4);
|
Ft4=SprBank->printFT4Scaled(FRM__LEG,RenderPos.vx+(i*XInc),RenderPos.vy,XFlip,0,OtPos,Scale>>4);
|
||||||
|
|
||||||
if (!XFlip)
|
if (!XFlip)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue