]> git.mxchange.org Git - flightgear.git/blobdiff - src/Autopilot/route_mgr.cxx
AircraftModel hacking for package support.
[flightgear.git] / src / Autopilot / route_mgr.cxx
index ca851881eb2d57f102ecbd8f16d951a381d79276..0ef6e72c207da6bfe5be57da8c21c95ed3329016 100644 (file)
@@ -746,7 +746,7 @@ bool FGRouteMgr::activate()
     return false;
   }
  
-  _plan->setCurrentIndex(0);
+  _plan->activate();
   active->setBoolValue(true);
   SG_LOG(SG_AUTOPILOT, SG_INFO, "route-manager, activate route ok");
   return true;