This commit is contained in:
parent
e5a2e9a6ed
commit
c65313ce30
1 changed files with 7 additions and 1 deletions
|
@ -23,7 +23,7 @@ void CFXGeyser::init(DVECTOR const &_Pos)
|
|||
currentFrame=FRM__GUSH000;
|
||||
SoundId = NOT_PLAYING;
|
||||
BasePos=_Pos;
|
||||
OtPos++;
|
||||
OtPos+=3;
|
||||
}
|
||||
|
||||
/*****************************************************************************/
|
||||
|
@ -105,6 +105,12 @@ int W;
|
|||
W=(Ft4->x1-Ft4->x0)/2;
|
||||
Ft4->x0-=W; Ft4->x1+=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;
|
||||
setCollisionCentreOffset(FrameW>>1,-Height/2);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue