This commit is contained in:
Charles 2001-06-18 22:10:57 +00:00
parent 86cd321940
commit 32ea7a31da

View File

@ -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