1
0
Fork 0

Fix to restore the UIUC FDM aircraft after the FGAddon split.

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.
This commit is contained in:
Edward d'Auvergne 2015-03-23 18:47:33 +01:00
parent 55ed10953f
commit 3f3bd6994a

View file

@ -319,8 +319,7 @@ void uiuc_init_aeromodel ()
{
// 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