X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=src%2FMain%2Ffg_init.cxx;h=8691347359c55581c42e880878f72e44f48217ef;hb=4606f96e139204d5b2d76ee93c3b0c66885b5f5f;hp=cff3d0147a89653c6b091467d88b1976342b71db;hpb=da5ea10d5db9675e6a5d75db5b33edfc350566b1;p=flightgear.git diff --git a/src/Main/fg_init.cxx b/src/Main/fg_init.cxx index cff3d0147..869134735 100644 --- a/src/Main/fg_init.cxx +++ b/src/Main/fg_init.cxx @@ -1455,7 +1455,13 @@ bool fgInitSubsystems() { //////////////////////////////////////////////////////////////////// // Initialize the property interpolator subsystem //////////////////////////////////////////////////////////////////// - globals->add_subsystem("interpolator", new SGInterpolator()); + globals->add_subsystem("interpolator", new SGInterpolator); + + + //////////////////////////////////////////////////////////////////// + // Add the FlightGear property utilities. + //////////////////////////////////////////////////////////////////// + globals->add_subsystem("properties", new FGProperties); //////////////////////////////////////////////////////////////////// // Initialize the material property subsystem. @@ -1743,13 +1749,6 @@ bool fgInitSubsystems() { } - //////////////////////////////////////////////////////////////////// - // Initialize the default (kludged) properties. - //////////////////////////////////////////////////////////////////// - - fgInitProps(); - - //////////////////////////////////////////////////////////////////// // Initialize the controls subsystem. ////////////////////////////////////////////////////////////////////