diff --git a/core/src/net/sf/openrocket/aerodynamics/barrowman/RailButtonCalc.java b/core/src/net/sf/openrocket/aerodynamics/barrowman/RailButtonCalc.java index a94bd76e5..eff4e465e 100644 --- a/core/src/net/sf/openrocket/aerodynamics/barrowman/RailButtonCalc.java +++ b/core/src/net/sf/openrocket/aerodynamics/barrowman/RailButtonCalc.java @@ -96,6 +96,10 @@ public class RailButtonCalc extends RocketComponentCalc { // add to CDmul CDmul += cd; } + + // since we'll be multiplying by the instance count up in BarrowmanCalculator, + // we want to return the mean CD instead of the total + CDmul /= button.getInstanceCount(); return CDmul * stagnationCD * refArea / conditions.getRefArea(); }