The fix follows from the thread at
http://thread.gmane.org/gmane.games.flightgear.devel/77094, and specifically
implements step 3 in the message
http://thread.gmane.org/gmane.games.flightgear.devel/77094/focus=77214.
The change requires the corresponding <airplane-dir> XML tag deletion
and file system rearrangements in FGAddon as mentioned in the thread to
work.
{
// Initializes the UIUC aircraft model.
// Called once from uiuc_init_2_wrapper
- SGPath path(globals->get_fg_root());
- path.append(fgGetString("/sim/aircraft-dir"));
+ SGPath path(fgGetString("/sim/aircraft-dir"));
path.append("aircraft.dat");
std::cout << "We are using "<< path.str() << std::endl;
uiuc_initializemaps(); // Initialize the <string,int> maps