From 55ed10953fae944a1bc4dff2fae2a1fd8612074a Mon Sep 17 00:00:00 2001 From: Torsten Dreyer <torsten@ลง3r.de> Date: Sun, 22 Mar 2015 16:09:42 +0100 Subject: [PATCH] Fix StateMachine autopilot component --- src/Autopilot/autopilot.cxx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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); }