1
0
Fork 0

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
This commit is contained in:
Rebecca Palmer 2013-12-01 22:12:35 +00:00 committed by James Turner
parent 8287ee9ae6
commit 617e638242

View 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();