]> git.mxchange.org Git - flightgear.git/blobdiff - src/Main/globals.cxx
Modified Files:
[flightgear.git] / src / Main / globals.cxx
index 9770d0d08727eb69d5a144e84a799baa5c36e6da..33098d807ee09619d331933e3bc437f0ee78a381 100644 (file)
@@ -73,7 +73,7 @@ FGGlobals::FGGlobals() :
     props( new SGPropertyNode ),
     initial_state( NULL ),
     locale( NULL ),
-    commands( new SGCommandMgr ),
+    commands( SGCommandMgr::instance() ),
     model_lib( NULL ),
     acmodel( NULL ),
     model_mgr( NULL ),
@@ -103,7 +103,6 @@ FGGlobals::~FGGlobals()
     delete event_mgr;
     delete initial_state;
     delete props;
-    delete commands;
     delete io;
     delete fontcache;
     delete renderer;