From 13b012d19dfac64883c836aa1ef8eeed13f95cca Mon Sep 17 00:00:00 2001 From: Charles Date: Wed, 14 Feb 2001 16:28:57 +0000 Subject: [PATCH] --- source/enemy/npc.cpp | 18 ------------------ source/enemy/npcdata.cpp | 2 +- 2 files changed, 1 insertion(+), 19 deletions(-) diff --git a/source/enemy/npc.cpp b/source/enemy/npc.cpp index f0e286ebe..3e4991a5e 100644 --- a/source/enemy/npc.cpp +++ b/source/enemy/npc.cpp @@ -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; diff --git a/source/enemy/npcdata.cpp b/source/enemy/npcdata.cpp index ec48be645..b29f8e67a 100644 --- a/source/enemy/npcdata.cpp +++ b/source/enemy/npcdata.cpp @@ -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,