]> git.mxchange.org Git - flightgear.git/blobdiff - src/FDM/JSBSim/FGFCS.cpp
First steps in a weather reorganization. Note especially that
[flightgear.git] / src / FDM / JSBSim / FGFCS.cpp
index 63d3a725d841322be2649aca50c46cc727b949f0..1e304e2aaf0dbef5b6b73a949caaf81a03bf1fea 100644 (file)
@@ -256,7 +256,7 @@ bool FGFCS::Load(FGConfigFile* AC_cfg)
   while ((token = AC_cfg->GetValue()) != string("/FLIGHT_CONTROL")) {
     if (token == "COMPONENT") {
       token = AC_cfg->GetValue("TYPE");
-      if (debug_lvl > 0) cout << "    Loading Component \""
+      if (debug_lvl > 0) cout << endl << "    Loading Component \""
                               << AC_cfg->GetValue("NAME")
                               << "\" of type: " << token << endl;
       if ((token == "LAG_FILTER") ||
@@ -408,4 +408,11 @@ void FGFCS::Debug(int from)
   }
   if (debug_lvl & 16) { // Sanity checking
   }
+  if (debug_lvl & 64) {
+    if (from == 0) { // Constructor
+      cout << IdSrc << endl;
+      cout << IdHdr << endl;
+    }
+  }
 }
+