]> git.mxchange.org Git - flightgear.git/commitdiff
Moved DEFAULT_AP_HEADING_LOCK to newauto.hxx
authorcurt <curt>
Tue, 26 Jun 2001 20:14:13 +0000 (20:14 +0000)
committercurt <curt>
Tue, 26 Jun 2001 20:14:13 +0000 (20:14 +0000)
it was defined in both fg_props.cxx and newauto.cxx
This is I believe where it belongs.  (NHV)

src/Autopilot/newauto.cxx
src/Autopilot/newauto.hxx
src/Main/fg_props.cxx

index 8fd0014efc7c06057cde7b9c3a2a5f77c0837693..c52f2f3ca838fac4f9efdb81dfd5a00599c09a65 100644 (file)
@@ -44,8 +44,6 @@
 #include "newauto.hxx"
 
 
-#define DEFAULT_AP_HEADING_LOCK FGAutopilot::FG_DG_HEADING_LOCK
-
 FGAutopilot *current_autopilot;
 
 
index 67ceb2b03a16fc5f4d0a03804e2e2fa182c5003b..87b6d7545fe8cd050a86d3bcbdb7a293fb6d0e1b 100644 (file)
@@ -211,5 +211,7 @@ public:
 
 extern FGAutopilot *current_autopilot;
 
+#define DEFAULT_AP_HEADING_LOCK FGAutopilot::FG_DG_HEADING_LOCK
+// #define DEFAULT_AP_HEADING_LOCK FGAutopilot::FG_TRUE_HEADING_LOCK
 
 #endif // _NEWAUTO_HXX
index 2a92e5982ba5c28e98201b935683870179fb6fdc..3000f27facadbf01b0513046c02e570a8e128e6d 100644 (file)
@@ -44,8 +44,6 @@ SG_USING_STD(istream);
 SG_USING_STD(ostream);
 #endif
 
-#define DEFAULT_AP_HEADING_LOCK FGAutopilot::FG_DG_HEADING_LOCK
-
 static double getWindNorth ();
 static double getWindEast ();
 static double getWindDown ();