]> git.mxchange.org Git - flightgear.git/blobdiff - src/Aircraft/aircraft.cxx
The code to find the highest hit below you didn't work quite right when
[flightgear.git] / src / Aircraft / aircraft.cxx
index e88fb83e4f2d76f9e1fa2d391b30f65d048c1a0f..1fe90e128c82cc8dc2152da2a43e2896f4682fec 100644 (file)
@@ -30,8 +30,8 @@
 #include <simgear/constants.h>
 #include <simgear/debug/logstream.hxx>
 #include <simgear/misc/sg_path.hxx>
-#include <simgear/misc/commands.hxx>
-#include <simgear/misc/exception.hxx>
+#include <simgear/structure/commands.hxx>
+#include <simgear/structure/exception.hxx>
 
 #include <Main/globals.hxx>
 #include <Main/fg_props.hxx>
@@ -41,7 +41,6 @@
 #include <Cockpit/panel_io.hxx>
 #include <Model/acmodel.hxx>
 #include <Autopilot/newauto.hxx>
-#include <Main/fgfs.hxx>
 
 #include "aircraft.hxx"
 
@@ -140,7 +139,7 @@ void fgReadAircraft(void) {
    globals->get_commands()->addCommand("load-aircraft", fgLoadAircraft);
 }
 
-static bool
+bool
 fgLoadAircraft (const SGPropertyNode * arg)
 {
     static const SGPropertyNode *master_freeze