]> git.mxchange.org Git - flightgear.git/commitdiff
remove wrong comment; should be obvious, anyway
authormfranz <mfranz>
Tue, 9 May 2006 21:08:01 +0000 (21:08 +0000)
committermfranz <mfranz>
Tue, 9 May 2006 21:08:01 +0000 (21:08 +0000)
src/Autopilot/route_mgr.cxx

index 0da9c28dc38623a744a1c037c6ca0f926aaf71de..78b15f167a1fabf00e4683abbd95effb05063961 100644 (file)
@@ -140,8 +140,6 @@ void FGRouteMgr::update( double dt ) {
         true_hdg_deg->setDoubleValue( wp_course );
         double target_alt = wp.get_target_alt();
 
-        // activate altitude lock only once per route (this can't be done in
-        // new_waypoint() because the first wp might not have an altitude defined at all)
         if (!altitude_set && target_alt > -9990) {
             target_altitude_ft->setDoubleValue( target_alt * SG_METER_TO_FEET );
             altitude_lock->setStringValue( "altitude-hold" );