]> git.mxchange.org Git - flightgear.git/commitdiff
Reorganization of the AI directory tree. Make FlightGear search for airport
authordurk <durk>
Sat, 25 Nov 2006 09:05:03 +0000 (09:05 +0000)
committerdurk <durk>
Sat, 25 Nov 2006 09:05:03 +0000 (09:05 +0000)
related AI stuff in data/AI/Airports instead of in data/Airports/AI

src/Airports/simple.cxx

index 7813d38d22e36745d9811a002c02d4e0559724de..ed80d43afc8b98675654241e368ae03fd3263491 100644 (file)
@@ -94,12 +94,12 @@ FGAirportDynamics * FGAirport::getDynamics()
         dynamics = new FGAirportDynamics(_latitude, _longitude, _elevation, _id);
 
         SGPath parkpath( globals->get_fg_root() );
-        parkpath.append( "/Airports/AI/" );
+        parkpath.append( "/AI/Airports/" );
         parkpath.append(_id);
         parkpath.append("parking.xml");
 
         SGPath rwyPrefPath( globals->get_fg_root() );
-        rwyPrefPath.append( "/Airports/AI/" );
+        rwyPrefPath.append( "AI/Airports/" );
         rwyPrefPath.append(_id);
         rwyPrefPath.append("rwyuse.xml");