]> git.mxchange.org Git - flightgear.git/commitdiff
Stop --native-ctrls option from breaking JSBSim
authorRebecca Palmer <R.Palmer@bham.ac.uk>
Sun, 1 Dec 2013 22:12:35 +0000 (22:12 +0000)
committerJames Turner <zakalawe@mac.com>
Sun, 15 Dec 2013 21:32:40 +0000 (21:32 +0000)
Remove unused instance of FGControls from FGNativeCtrls, as it was
binding to the property tree in place of the globals->get_controls
that JSBSim reads input from, blocking all input

src/Network/native_ctrls.hxx

index 4e4afe57912be493887cada70b7f9af941e733ad..01bb717a159febc6a4e889dbdc468c3a84356699 100644 (file)
@@ -29,7 +29,6 @@
 
 #include <string>
 
-#include <Aircraft/controls.hxx>
 #include "protocol.hxx"
 #include "net_ctrls.hxx"
 
@@ -38,8 +37,6 @@ using std::string;
 class FGNativeCtrls : public FGProtocol {
 
     FGNetCtrls net_ctrls;
-    FGControls ctrls;
-
 public:
 
     FGNativeCtrls();