Skip to content

Commit

Permalink
Merge pull request #4753 from SJuliez/InvalidDS
Browse files Browse the repository at this point in the history
TestSmallCraft: weight calculation
  • Loading branch information
SJuliez authored Sep 8, 2023
2 parents 0b0fd12 + e7aa8e7 commit 90c8fea
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion megamek/src/megamek/common/verifier/TestSmallCraft.java
Original file line number Diff line number Diff line change
Expand Up @@ -218,7 +218,7 @@ public static double calculateEngineTonnage(boolean clan, double tonnage,
}

public static int weightFreeHeatSinks(SmallCraft sc) {
double engineTonnage = calculateEngineTonnage(sc.isClan(), sc.getWeight(), sc.getWalkMP(),
double engineTonnage = calculateEngineTonnage(sc.isClan(), sc.getWeight(), sc.getOriginalWalkMP(),
sc.hasETypeFlag(Entity.ETYPE_DROPSHIP), sc.getOriginalBuildYear());
if (sc.isSpheroid()) {
if (sc.isPrimitive()) {
Expand Down

0 comments on commit 90c8fea

Please sign in to comment.