This commit is contained in:
parent
e5a2e9a6ed
commit
c65313ce30
@ -23,7 +23,7 @@ void CFXGeyser::init(DVECTOR const &_Pos)
|
|||||||
currentFrame=FRM__GUSH000;
|
currentFrame=FRM__GUSH000;
|
||||||
SoundId = NOT_PLAYING;
|
SoundId = NOT_PLAYING;
|
||||||
BasePos=_Pos;
|
BasePos=_Pos;
|
||||||
OtPos++;
|
OtPos+=3;
|
||||||
}
|
}
|
||||||
|
|
||||||
/*****************************************************************************/
|
/*****************************************************************************/
|
||||||
@ -105,6 +105,12 @@ int W;
|
|||||||
W=(Ft4->x1-Ft4->x0)/2;
|
W=(Ft4->x1-Ft4->x0)/2;
|
||||||
Ft4->x0-=W; Ft4->x1+=W;
|
Ft4->x0-=W; Ft4->x1+=W;
|
||||||
Ft4->x2-=W; Ft4->x3+=W;
|
Ft4->x2-=W; Ft4->x3+=W;
|
||||||
|
if (Height<8)
|
||||||
|
{
|
||||||
|
Ft4->x0+=2; Ft4->x1-=2;
|
||||||
|
Ft4->x2+=2; Ft4->x3-=2;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
int FrameW=Ft4->x1-Ft4->x0;
|
int FrameW=Ft4->x1-Ft4->x0;
|
||||||
setCollisionCentreOffset(FrameW>>1,-Height/2);
|
setCollisionCentreOffset(FrameW>>1,-Height/2);
|
||||||
|
Loading…
Reference in New Issue
Block a user