]> git.mxchange.org Git - flightgear.git/blobdiff - src/Main/main.cxx
Make FGControls behave like a standard subsystem.
[flightgear.git] / src / Main / main.cxx
index 5fd2137f8bc2c8262887a1420d0afdbb9bf532f5..792a20cb98416de085feff55417d10aeda18e043 100644 (file)
@@ -49,7 +49,6 @@
 #include <simgear/math/SGMath.hxx>
 #include <simgear/math/sg_random.h>
 
-#include <Aircraft/controls.hxx>
 #include <Model/panelnode.hxx>
 #include <Scenery/scenery.hxx>
 #include <Scenery/tilemgr.hxx>
@@ -364,9 +363,6 @@ int fgMainInit( int argc, char **argv ) {
     // seed the random number generator
     sg_srandom_time();
 
-    FGControls *controls = new FGControls;
-    globals->set_controls( controls );
-
     string_list *col = new string_list;
     globals->set_channel_options_list( col );