Modified Files:
globals.cxx: Use the command manager singleton
This commit is contained in:
parent
001bff4cbc
commit
bc539e6284
1 changed files with 1 additions and 2 deletions
|
@ -73,7 +73,7 @@ FGGlobals::FGGlobals() :
|
||||||
props( new SGPropertyNode ),
|
props( new SGPropertyNode ),
|
||||||
initial_state( NULL ),
|
initial_state( NULL ),
|
||||||
locale( NULL ),
|
locale( NULL ),
|
||||||
commands( new SGCommandMgr ),
|
commands( SGCommandMgr::instance() ),
|
||||||
model_lib( NULL ),
|
model_lib( NULL ),
|
||||||
acmodel( NULL ),
|
acmodel( NULL ),
|
||||||
model_mgr( NULL ),
|
model_mgr( NULL ),
|
||||||
|
@ -103,7 +103,6 @@ FGGlobals::~FGGlobals()
|
||||||
delete event_mgr;
|
delete event_mgr;
|
||||||
delete initial_state;
|
delete initial_state;
|
||||||
delete props;
|
delete props;
|
||||||
delete commands;
|
|
||||||
delete io;
|
delete io;
|
||||||
delete fontcache;
|
delete fontcache;
|
||||||
delete renderer;
|
delete renderer;
|
||||||
|
|
Loading…
Add table
Reference in a new issue