This commit is contained in:
parent
86cd321940
commit
32ea7a31da
1 changed files with 2 additions and 1 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue