From: Rebecca Palmer Date: Sun, 1 Dec 2013 22:12:35 +0000 (+0000) Subject: Stop --native-ctrls option from breaking JSBSim X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=617e638242ddf88c44b00f7090c098c74e7170db;p=flightgear.git Stop --native-ctrls option from breaking JSBSim 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 --- diff --git a/src/Network/native_ctrls.hxx b/src/Network/native_ctrls.hxx index 4e4afe579..01bb717a1 100644 --- a/src/Network/native_ctrls.hxx +++ b/src/Network/native_ctrls.hxx @@ -29,7 +29,6 @@ #include -#include #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();