]> git.mxchange.org Git - flightgear.git/blobdiff - src/Cockpit/steam.cxx
Use !strcmp for all property string-value comparisons.
[flightgear.git] / src / Cockpit / steam.cxx
index 75eae0e4d70e982f04a36f815dc346275adb5cfe..cd78bf303259ab843f2575299c14f3eb0854a6c0 100644 (file)
@@ -275,7 +275,7 @@ void FGSteam::_CatchUp()
        AccE = current_aircraft.fdm_state->get_V_dot_east();
        AccU = current_aircraft.fdm_state->get_V_dot_down()
             - 9.81 / 0.3;
-       if ( fabs(the_TC_rad) > 0.2 )
+       if ( fabs(the_TC_rad) > 0.2 /* 2.0 */ )
        {       /* Massive sideslip jams it; it stops turning */
                the_MH_degps = 0.0;
                the_MH_err   = fgGetDouble("/orientation/heading-deg") - the_MH_deg;
@@ -494,7 +494,7 @@ double FGSteam::get_HackADF_deg () {
 
     if ( current_radiostack->get_adf_inrange() ) {
        double r = current_radiostack->get_adf_heading()
-            - fgGetDouble("orientation/heading");
+            - fgGetDouble("/orientation/heading-deg");
        last_r = r;
        // cout << "Radial = " << current_radiostack->get_adf_heading() 
        //      << "  Heading = " << FGBFI::getHeading() << endl;