This commit is contained in:
parent
2d7c08721a
commit
c329cb24c2
1 changed files with 14 additions and 7 deletions
|
@ -1153,6 +1153,12 @@ void CNpcEnemy::processShot()
|
|||
switch ( m_state )
|
||||
{
|
||||
case NPC_GENERIC_HIT_CHECK_HEALTH:
|
||||
{
|
||||
if ( CLevel::getCurrentChapter() == 1 && CLevel::getCurrentChapterLevel() == 1 )
|
||||
{
|
||||
m_state = NPC_GENERIC_HIT_DEATH_START;
|
||||
}
|
||||
else
|
||||
{
|
||||
m_health -= 5;
|
||||
|
||||
|
@ -1168,6 +1174,7 @@ void CNpcEnemy::processShot()
|
|||
m_animNo = m_data[m_type].recoilAnim;
|
||||
m_frame = 0;
|
||||
}
|
||||
}
|
||||
|
||||
break;
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue