if ((entity instanceof Tank) && ((entity.getMovementMode() == IEntityMovementMode.HOVER) || (entity.getMovementMode() == IEntityMovementMode.WIGE))) {
if (nextHex.containsTerrain(Terrains.WATER)) {
nextAltitude = nextHex.surface();
}
} else {
if (nextHex.containsTerrain(Terrains.ICE)) {
nextAltitude = nextHex.surface();
}
}
}
}