This commit is contained in:
parent
02bc945c1b
commit
fbd8eb5e43
1 changed files with 2 additions and 2 deletions
|
@ -160,7 +160,7 @@ bool CNpcSquidDartEnemy::processSensor()
|
||||||
void CNpcSquidDartEnemy::processClose( int _frames )
|
void CNpcSquidDartEnemy::processClose( int _frames )
|
||||||
{
|
{
|
||||||
s32 movement;
|
s32 movement;
|
||||||
s32 yAim = playerYDist - 40;
|
s32 yAim = playerYDist - 20;
|
||||||
//s32 maxSpeed = m_data[m_type].speed * _frames;
|
//s32 maxSpeed = m_data[m_type].speed * _frames;
|
||||||
s32 maxSpeed = m_speed * _frames;
|
s32 maxSpeed = m_speed * _frames;
|
||||||
|
|
||||||
|
@ -196,7 +196,7 @@ void CNpcSquidDartEnemy::processClose( int _frames )
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
if ( abs( yAim ) > 20 )
|
if ( abs( yAim ) > 5 )
|
||||||
{
|
{
|
||||||
movement = yAim;
|
movement = yAim;
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue