]> git.mxchange.org Git - flightgear.git/blobdiff - src/Cockpit/steam.cxx
Added static port system and a new altimeter model connected to it.
[flightgear.git] / src / Cockpit / steam.cxx
index c947325ee8b5c151e00bdacc3ac370a03ace6062..e5f058407abade1d0a5c475a1404cf2fe6184e70 100644 (file)
@@ -318,7 +318,7 @@ void FGSteam::_CatchUp()
        More subtle flaw is having it not move or a travel limit
        occasionally due to some dirt in the tube or on the ball.
        */
-       d = - current_aircraft.fdm_state->get_A_Z_pilot();
+       d = -current_aircraft.fdm_state->get_A_Z_pilot();
        if ( d < 1 ) d = 1;
        set_lowpass ( & the_TC_rad,
                current_aircraft.fdm_state->get_A_Y_pilot () / d,
@@ -494,12 +494,12 @@ void FGSteam::_CatchUp()
 
 double FGSteam::get_HackOBS1_deg () const
 {
-  return current_radiostack->get_nav1_radial(); 
+    return current_radiostack->get_navcom1()->get_nav_radial(); 
 }
 
 double FGSteam::get_HackOBS2_deg () const
 {
-    return current_radiostack->get_nav2_radial(); 
+    return current_radiostack->get_navcom2()->get_nav_radial(); 
 }