This commit is contained in:
parent
a427c0efd8
commit
48f099d18f
1 changed files with 2 additions and 2 deletions
|
@ -63,7 +63,7 @@ void CNpcEnemy::processSubSharkMovement( int _frames )
|
|||
|
||||
if ( m_extendDir == EXTEND_RIGHT )
|
||||
{
|
||||
s32 xDist = 300 - Pos.vx;
|
||||
s32 xDist = 600 - Pos.vx;
|
||||
s32 xDistSqr = xDist * xDist;
|
||||
|
||||
if ( xDistSqr > 100 )
|
||||
|
@ -77,7 +77,7 @@ void CNpcEnemy::processSubSharkMovement( int _frames )
|
|||
}
|
||||
else
|
||||
{
|
||||
s32 xDist = -300 - Pos.vx;
|
||||
s32 xDist = 100 - Pos.vx;
|
||||
s32 xDistSqr = xDist * xDist;
|
||||
|
||||
if ( xDistSqr > 100 )
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue