This commit is contained in:
Charles 2001-04-05 14:23:51 +00:00
parent cb92498e70
commit 526b52a250
2 changed files with 8 additions and 0 deletions

View file

@ -1207,6 +1207,13 @@ void CNpcEnemy::processMovementModifier(int _frames, s32 distX, s32 distY, s32 d
//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// ////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
void CNpcEnemy::hasBeenAttacked()
{
m_controlFunc = NPC_CONTROL_SHOT:
}
////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
void CNpcEnemy::processShot() void CNpcEnemy::processShot()
{ {
} }

View file

@ -171,6 +171,7 @@ public:
void addWaypoint( s32 xPos, s32 yPos ); void addWaypoint( s32 xPos, s32 yPos );
void setPathType( u8 newType ) {m_npcPath.setPathType( newType );} void setPathType( u8 newType ) {m_npcPath.setPathType( newType );}
void setStartPos( s32 xPos, s32 yPos ); void setStartPos( s32 xPos, s32 yPos );
void hasBeenAttacked();
static void CacheActor(int Type); static void CacheActor(int Type);