This commit is contained in:
parent
393c3f4a27
commit
c6a63413e6
5 changed files with 2 additions and 16 deletions
|
@ -92,6 +92,7 @@ void CNpcBossEnemy::processShot( int _frames )
|
||||||
m_state = NPC_GENERIC_HIT_DEATH_START;
|
m_state = NPC_GENERIC_HIT_DEATH_START;
|
||||||
m_isDying = true;
|
m_isDying = true;
|
||||||
m_health = 0;
|
m_health = 0;
|
||||||
|
CGameScene::setBossHasBeenKilled();
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
|
|
|
@ -480,11 +480,6 @@ void CNpcIronDogfishEnemy::processShotDeathEnd( int _frames )
|
||||||
if ( !m_animPlaying )
|
if ( !m_animPlaying )
|
||||||
{
|
{
|
||||||
CNpcEnemy::processShotDeathEnd( _frames );
|
CNpcEnemy::processShotDeathEnd( _frames );
|
||||||
|
|
||||||
if ( isSetToShutdown() )
|
|
||||||
{
|
|
||||||
CGameScene::setBossHasBeenKilled();
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -670,11 +670,6 @@ void CNpcFlyingDutchmanEnemy::processShotDeathEnd( int _frames )
|
||||||
if ( !m_animPlaying )
|
if ( !m_animPlaying )
|
||||||
{
|
{
|
||||||
CNpcEnemy::processShotDeathEnd( _frames );
|
CNpcEnemy::processShotDeathEnd( _frames );
|
||||||
|
|
||||||
if ( isSetToShutdown() )
|
|
||||||
{
|
|
||||||
CGameScene::setBossHasBeenKilled();
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -670,6 +670,7 @@ void CNpcSubSharkEnemy::processShot( int _frames )
|
||||||
{
|
{
|
||||||
m_state = NPC_GENERIC_HIT_DEATH_START;
|
m_state = NPC_GENERIC_HIT_DEATH_START;
|
||||||
m_isDying = true;
|
m_isDying = true;
|
||||||
|
CGameScene::setBossHasBeenKilled();
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
|
@ -709,11 +710,6 @@ void CNpcSubSharkEnemy::processShot( int _frames )
|
||||||
if ( !m_animPlaying )
|
if ( !m_animPlaying )
|
||||||
{
|
{
|
||||||
CNpcEnemy::processShotDeathEnd( _frames );
|
CNpcEnemy::processShotDeathEnd( _frames );
|
||||||
|
|
||||||
if ( isSetToShutdown() )
|
|
||||||
{
|
|
||||||
CGameScene::setBossHasBeenKilled();
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
break;
|
break;
|
||||||
|
|
|
@ -1243,7 +1243,6 @@ void CNpcSeaSnakeEnemy::processShot( int _frames )
|
||||||
if ( Pos.vy - offset.vy > VidGetScrH() )
|
if ( Pos.vy - offset.vy > VidGetScrH() )
|
||||||
{
|
{
|
||||||
setToShutdown();
|
setToShutdown();
|
||||||
CGameScene::setBossHasBeenKilled();
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
|
|
Loading…
Add table
Reference in a new issue