This commit is contained in:
Charles 2001-02-06 16:14:16 +00:00
parent b5cf87e172
commit 9deca9ba54
5 changed files with 25 additions and 3 deletions

View file

@ -48,7 +48,7 @@
void CNpc::init()
{
m_type = NPC_ZOMBIE_FISH_FOLK;
m_type = NPC_SMALL_JELLYFISH_1;
m_heading = m_fireHeading = 0;
m_movementTimer = 0;
@ -661,6 +661,11 @@ void CNpc::processMovement(int _frames)
s16 headingToTarget = m_npcPath.think( Pos, &pathComplete, &waypointChange );
if ( waypointChange )
{
m_movementTimer = 0;
}
if ( !pathComplete )
{
s16 decDir, incDir;
@ -810,6 +815,13 @@ void CNpc::processMovementModifier(int _frames, s32 distX, s32 distY, s32 dist,
break;
}
case NPC_MOVEMENT_MODIFIER_OCTOPUS:
{
processBabyOctopusMovementModifier( _frames, dist, headingChange );
break;
}
}
}