From 3f3bd6994a05eda1a5852bb1070efbc885b8f3a8 Mon Sep 17 00:00:00 2001 From: Edward d'Auvergne Date: Mon, 23 Mar 2015 18:47:33 +0100 Subject: [PATCH] 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 XML tag deletion and file system rearrangements in FGAddon as mentioned in the thread to work. --- src/FDM/UIUCModel/uiuc_wrapper.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/FDM/UIUCModel/uiuc_wrapper.cpp b/src/FDM/UIUCModel/uiuc_wrapper.cpp index 47897560e..55dbf4ca8 100644 --- a/src/FDM/UIUCModel/uiuc_wrapper.cpp +++ b/src/FDM/UIUCModel/uiuc_wrapper.cpp @@ -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 maps -- 2.39.5