This commit is contained in:
parent
fd5ed94bae
commit
911c868e99
4 changed files with 40 additions and 21 deletions
|
@ -680,7 +680,7 @@ void CNpcSubSharkEnemy::processShot( int _frames )
|
|||
{
|
||||
m_health -= 5;
|
||||
|
||||
if ( m_health < 0 )
|
||||
if ( m_health <= 0 )
|
||||
{
|
||||
m_state = NPC_GENERIC_HIT_DEATH_START;
|
||||
m_isDying = true;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue