This commit is contained in:
Charles 2001-02-14 16:28:57 +00:00
parent b767d24f69
commit 13b012d19d
2 changed files with 1 additions and 19 deletions

View File

@ -152,24 +152,6 @@ void CNpc::init()
break;
}
case NPC_INIT_FALLING_ITEM:
{
m_heading = m_fireHeading = 1024;
m_npcPath.initPath();
DVECTOR newPos;
newPos.vx = 100;
newPos.vy = 200;
m_npcPath.addWaypoint( newPos );
m_npcPath.setPathType( SINGLE_USE_PATH );
break;
}
case NPC_INIT_FISH_HOOK:
{
m_heading = m_fireHeading = 3072;

View File

@ -51,7 +51,7 @@ CNpc::NPC_DATA CNpc::m_data[NPC_UNIT_TYPE_MAX] =
},
{ // NPC_FALLING_ITEM
NPC_INIT_FALLING_ITEM,
NPC_INIT_DEFAULT,
NPC_SENSOR_FALLING_ITEM_USER_CLOSE,
NPC_MOVEMENT_STATIC,
NPC_MOVEMENT_MODIFIER_NONE,