This commit is contained in:
Charles 2001-07-06 14:55:58 +00:00
parent a4b3ec5d5f
commit c0038da590
7 changed files with 63 additions and 12 deletions

View file

@ -712,11 +712,16 @@ void CNpcSubSharkEnemy::processShot( int _frames )
void CNpcSubSharkEnemy::shutdown()
{
CLevel::setIsBossRespawn( true );
if ( m_state != NPC_GENERIC_HIT_DEATH_END )
{
CLevel::setIsBossRespawn( true );
CLevel::setBossHealth( m_health );
}
else
{
CLevel::setBossHealth( 0 );
}
CNpcBossEnemy::shutdown();
}