if (!crew.isDead()) {
if (!crew.isDead() && !crew.isEjected()) {
    private String damageCrew(Entity en, int damage) {        StringBuffer desc = new StringBuffer();        Pilot crew = en.getCrew();        if (!crew.isDead()) {            crew.setHits( crew.getHits() + damage );            desc.append( "        Pilot of " )                .append( en.getDisplayName() )                .append( " \"" )                .append( crew.getName() )                .append( "\" takes " )                .append( damage )                .append( " damage." );            if ( Pilot.DEATH > crew.getHits() ) {                crew.setRollsNeeded( crew.getRollsNeeded() + damage );            } else if ( !crew.isDoomed() ) {                crew.setDoomed(true);                desc.append( "\n" )                    .append( destroyEntity(en, "pilot death", true) );            }        }        return desc.toString();    }