This commit is contained in:
Charles 2001-08-18 18:14:15 +00:00
parent 393c3f4a27
commit c6a63413e6
5 changed files with 2 additions and 16 deletions

View File

@ -92,6 +92,7 @@ void CNpcBossEnemy::processShot( int _frames )
m_state = NPC_GENERIC_HIT_DEATH_START;
m_isDying = true;
m_health = 0;
CGameScene::setBossHasBeenKilled();
}
else
{

View File

@ -480,11 +480,6 @@ void CNpcIronDogfishEnemy::processShotDeathEnd( int _frames )
if ( !m_animPlaying )
{
CNpcEnemy::processShotDeathEnd( _frames );
if ( isSetToShutdown() )
{
CGameScene::setBossHasBeenKilled();
}
}
}

View File

@ -670,11 +670,6 @@ void CNpcFlyingDutchmanEnemy::processShotDeathEnd( int _frames )
if ( !m_animPlaying )
{
CNpcEnemy::processShotDeathEnd( _frames );
if ( isSetToShutdown() )
{
CGameScene::setBossHasBeenKilled();
}
}
}

View File

@ -670,6 +670,7 @@ void CNpcSubSharkEnemy::processShot( int _frames )
{
m_state = NPC_GENERIC_HIT_DEATH_START;
m_isDying = true;
CGameScene::setBossHasBeenKilled();
}
else
{
@ -709,11 +710,6 @@ void CNpcSubSharkEnemy::processShot( int _frames )
if ( !m_animPlaying )
{
CNpcEnemy::processShotDeathEnd( _frames );
if ( isSetToShutdown() )
{
CGameScene::setBossHasBeenKilled();
}
}
break;

View File

@ -1243,7 +1243,6 @@ void CNpcSeaSnakeEnemy::processShot( int _frames )
if ( Pos.vy - offset.vy > VidGetScrH() )
{
setToShutdown();
CGameScene::setBossHasBeenKilled();
}
}
else