entity.setAssaultDropInProgress(true);
} else if (entity instanceof VTOL) {
// We should let players pick, but this simplifies a lot.
// Only do it for VTOLs, though; assume everything else is on the
// ground.
entity.setElevation(hex.ceiling() - hex.surface() + 1);
while ((Compute.stackingViolation(game, entity, coords, null) != null) && (entity.getElevation() <= 50)) {
entity.setElevation(entity.getElevation() + 1);
}
if (entity.getElevation() > 50) {
throw new IllegalStateException("Entity #" + entity.getId() + " appears to be in an infinite loop trying to get a legal elevation.");