This commit is contained in:
parent
f491382245
commit
8a5c5f76df
3 changed files with 5 additions and 5 deletions
|
@ -122,7 +122,7 @@ int XInc=LegXInc;
|
|||
/*****************************************************************************/
|
||||
/*** Render on map ***********************************************************/
|
||||
/*****************************************************************************/
|
||||
void CFXJellyFishLegs::renderOnMapScreen( DVECTOR drawPos )
|
||||
void CFXJellyFishLegs::renderOnMapScreen( DVECTOR drawPos, int XOfs, int YOfs )
|
||||
{
|
||||
SpriteBank *SprBank=CGameScene::getSpriteBank();;
|
||||
DVECTOR RenderPos=drawPos;
|
||||
|
@ -134,8 +134,8 @@ int ScaleWInc=(ONE*LegWInc)>>12;
|
|||
int ScaleHInc=(ONE*LegHInc)>>12;
|
||||
int XInc=LegXInc;
|
||||
|
||||
RenderPos.vx+=Ofs.vx;
|
||||
RenderPos.vy+=Ofs.vy;
|
||||
RenderPos.vx+=XOfs;
|
||||
RenderPos.vy+=YOfs;
|
||||
|
||||
if (!XFlip) XInc=-XInc;
|
||||
for (int i=0; i<LegCount; i++)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue