From 617e638242ddf88c44b00f7090c098c74e7170db Mon Sep 17 00:00:00 2001 From: Rebecca Palmer Date: Sun, 1 Dec 2013 22:12:35 +0000 Subject: [PATCH] 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 --- src/Network/native_ctrls.hxx | 3 --- 1 file changed, 3 deletions(-) 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(); -- 2.39.5