diff --git a/src/Autopilot/autopilot.cxx b/src/Autopilot/autopilot.cxx index dc9101ad6..b332647dc 100644 --- a/src/Autopilot/autopilot.cxx +++ b/src/Autopilot/autopilot.cxx @@ -49,8 +49,8 @@ using namespace FGXMLAutopilot; class StateMachineComponent : public Component { public: - StateMachineComponent( SGPropertyNode& cfg, - SGPropertyNode& props_root ) + StateMachineComponent( SGPropertyNode& props_root, + SGPropertyNode& cfg ) { inner = simgear::StateMachine::createFromPlist(&cfg, &props_root); }