1
0
Fork 0

Reorganization of the AI directory tree. Make FlightGear search for airport

related AI stuff in data/AI/Airports instead of in data/Airports/AI
This commit is contained in:
durk 2006-11-25 09:05:03 +00:00
parent 3bd32f75e4
commit 78aea9eb80

View 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");