Skip to content

Commit

Permalink
Update FNNozzleController.cs
Browse files Browse the repository at this point in the history
  • Loading branch information
Neouni committed May 18, 2015
1 parent 5bf25dd commit 950f824
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions FNPlugin/FNNozzleController.cs
Original file line number Diff line number Diff line change
Expand Up @@ -473,8 +473,6 @@ public override void OnFixedUpdate() {
// engine thrust fixed
//print ("A: " + //engine_thrust*myAttachedEngine.velocityCurve.Evaluate((float)vessel.srf_velocity.magnitude));
if (!double.IsInfinity(engine_thrust) && !double.IsNaN(engine_thrust)) {
engine_thrust*myAttachedEngine.veloCurve.Evaluate((float)vessel.srf_velocity.magnitude));
if (!double.IsInfinity(engine_thrust) && !double.IsNaN(engine_thrust)) {
if (isLFO) {
myAttachedEngine.maxThrust = (float)(2.2222 * engine_thrust);
} else {
Expand Down Expand Up @@ -701,4 +699,4 @@ public static ConfigNode[] getPropellantsHybrid() {


}
}
}

0 comments on commit 950f824

Please sign in to comment.