]> git.mxchange.org Git - flightgear.git/blobdiff - src/Airports/dynamics.cxx
Another clean-up iteration: FGAirportList::search is gone, replaced by two
[flightgear.git] / src / Airports / dynamics.cxx
index 41b77bae1663f773d3b7a0bcb8ec7afecbf3a6e4..5f41b8d9ecfeb09571763c397e0f88ca06513b40 100644 (file)
@@ -485,8 +485,8 @@ void FGAirportDynamics::getActiveRunway(const string &trafficType, int action, s
 
 string FGAirportDynamics::chooseRunwayFallback()
 {   
-  FGRunway rwy = _ap->getActiveRunwayForUsage();
-  return rwy._rwy_no;
+  FGRunway* rwy = _ap->getActiveRunwayForUsage();
+  return rwy->ident();
 }
 
 void FGAirportDynamics::addParking(FGParking& park) {