]> git.mxchange.org Git - flightgear.git/commitdiff
Revert "JSBSim fix: /velocities/mach was reported as totale mach speed"
authorjanodesbois <jean.pellotier@wanadoo.fr>
Thu, 31 Oct 2013 19:21:13 +0000 (20:21 +0100)
committerjanodesbois <jean.pellotier@wanadoo.fr>
Thu, 31 Oct 2013 19:21:13 +0000 (20:21 +0100)
This reverts commit 4dde865cbcf2a15a379c1f234ebfa6737fde0321.

src/FDM/JSBSim/JSBSim.cxx

index 5c2a9e7c264dd7b69bf7b5ba53439a1b7b35e100..f6efc4b11f58da89c0405adc345f3cb458ae6474 100644 (file)
@@ -785,7 +785,7 @@ bool FGJSBsim::copy_from_JSBsim()
                       Auxiliary->GetEulerRates(FGJSBBase::eTht),
                       Auxiliary->GetEulerRates(FGJSBBase::ePsi) );
 
-    _set_Mach_number( Auxiliary->GetMachU() );
+    _set_Mach_number( Auxiliary->GetMach() );
 
     // Positions of Visual Reference Point
     FGLocation l = Auxiliary->GetLocationVRP();