1
0
Fork 0

- modified setup so that the globals object creates and deletes its

own instances of the property and command managers
This commit is contained in:
curt 2001-06-01 17:52:40 +00:00
parent ecda50f9bc
commit 1b0878a835

View file

@ -39,7 +39,8 @@ FGGlobals::FGGlobals() :
freeze( false ),
warp( 0 ),
warp_delta( 0 ),
props(0),
commands(new SGCommandMgr),
props(new SGPropertyNode),
initial_state(0)
{
}
@ -49,6 +50,8 @@ FGGlobals::FGGlobals() :
FGGlobals::~FGGlobals()
{
delete initial_state;
delete props;
delete commands;
}