diff --git a/src/AIModel/AINotifications.hxx b/src/AIModel/AINotifications.hxx index 27530af4f..062cb7d74 100644 --- a/src/AIModel/AINotifications.hxx +++ b/src/AIModel/AINotifications.hxx @@ -28,11 +28,11 @@ class NearestCarrierToNotification : public simgear::Emesary::INotification public: NearestCarrierToNotification(SGGeod _comparisonPosition) : position(), comparisonPosition(_comparisonPosition), - distanceMeters(std::numeric_limits::max()), - carrier(0), - deckheight(0), heading(0), - vckts(0) + vckts(0), + deckheight(0), + distanceMeters(std::numeric_limits::max()), + carrier(0) { } @@ -99,4 +99,4 @@ protected: class FGAICarrier* carrier; }; -#endif \ No newline at end of file +#endif diff --git a/src/Environment/environment_mgr.cxx b/src/Environment/environment_mgr.cxx index 54452069c..f0bcf586f 100644 --- a/src/Environment/environment_mgr.cxx +++ b/src/Environment/environment_mgr.cxx @@ -86,10 +86,10 @@ void FG3DCloudsListener::valueChanged( SGPropertyNode * node ) FGEnvironmentMgr::FGEnvironmentMgr () : _environment(new FGEnvironment()), - _multiplayerListener(nullptr), - nearestAirport(nullptr), - nearestCarrier(nullptr), - _sky(globals->get_renderer()->getSky()) + _multiplayerListener(nullptr), + _sky(globals->get_renderer()->getSky()), + nearestCarrier(nullptr), + nearestAirport(nullptr) { fgClouds = new FGClouds; _3dCloudsEnableListener = new FG3DCloudsListener(fgClouds);