This commit is contained in:
parent
a4b3ec5d5f
commit
c0038da590
7 changed files with 63 additions and 12 deletions
|
@ -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();
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue