This commit is contained in:
parent
86cd321940
commit
32ea7a31da
@ -692,13 +692,14 @@ void CNpcSeaSnakeEnemy::processShot( int _frames )
|
|||||||
m_speed++;
|
m_speed++;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
m_state = NPC_GENERIC_HIT_DEATH_END;
|
||||||
|
|
||||||
DVECTOR offset = CLevel::getCameraPos();
|
DVECTOR offset = CLevel::getCameraPos();
|
||||||
|
|
||||||
if ( Pos.vy - offset.vy > VidGetScrH() )
|
if ( Pos.vy - offset.vy > VidGetScrH() )
|
||||||
{
|
{
|
||||||
setToShutdown();
|
setToShutdown();
|
||||||
CGameScene::setBossHasBeenKilled();
|
CGameScene::setBossHasBeenKilled();
|
||||||
m_state = NPC_GENERIC_HIT_DEATH_END;
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
|
Loading…
Reference in New Issue
Block a user