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