diff --git a/megamek/src/megamek/common/Dropship.java b/megamek/src/megamek/common/Dropship.java index 36b3b8bbb3..c04f709f11 100644 --- a/megamek/src/megamek/common/Dropship.java +++ b/megamek/src/megamek/common/Dropship.java @@ -474,6 +474,18 @@ public int height() { return 4; } + @Override + public int getWalkMP(MPCalculationSetting mpCalculationSetting) { + // A grounded dropship with the center hex in level 1 water is immobile. + if ((game != null) && !game.getBoard().inSpace() && !isAirborne()) { + Hex hex = game.getBoard().getHex(getPosition()); + if ((hex != null) && (hex.containsTerrain(Terrains.WATER, 1) && !hex.containsTerrain(Terrains.ICE))) { + return 0; + } + } + return super.getWalkMP(mpCalculationSetting); + } + /* * (non-Javadoc) *