This commit is contained in:
Charles 2001-05-15 20:21:05 +00:00
parent 9fb3df3054
commit 76a722c5ec
9 changed files with 197 additions and 10 deletions

View file

@ -1147,10 +1147,12 @@ void CNpcEnemy::processMovementModifier(int _frames, s32 distX, s32 distY, s32 d
////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
void CNpcEnemy::hasBeenAttacked()
u8 CNpcEnemy::hasBeenAttacked()
{
m_controlFunc = NPC_CONTROL_SHOT;
m_state = NPC_GENERIC_HIT_CHECK_HEALTH;
return( true );
}
////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////