diff --git a/src/ATC/AILocalTraffic.cxx b/src/ATC/AILocalTraffic.cxx index a4e1b8215..7339b4c84 100644 --- a/src/ATC/AILocalTraffic.cxx +++ b/src/ATC/AILocalTraffic.cxx @@ -150,7 +150,7 @@ void FGAILocalTraffic::Init() { // Run the internal calculations void FGAILocalTraffic::Update(double dt) { - std::cout << "In FGAILocalTraffic::Update\n"; + // cout << "In FGAILocalTraffic::Update\n"; // Hardwire flying traffic pattern for now - eventually also needs to be able to taxi to and from runway and GA parking area. FlyTrafficPattern(dt); Transform(); diff --git a/src/FDM/JSBSim/FGPropertyManager.cpp b/src/FDM/JSBSim/FGPropertyManager.cpp index 2a33172ad..bb0737afa 100644 --- a/src/FDM/JSBSim/FGPropertyManager.cpp +++ b/src/FDM/JSBSim/FGPropertyManager.cpp @@ -54,13 +54,14 @@ string FGPropertyManager::mkPropertyName(string name, bool lowercase) { /* do this two pass to avoid problems with characters getting skipped because the index changed */ - for(unsigned i=0;i> token >> MaxMilThrust; *Eng_cfg >> token >> MaxAugThrust; i=0; - while( Eng_cfg->GetValue() != "/FG_TURBINE" && i < 10){ + while( Eng_cfg->GetValue() != string("/FG_TURBINE") && i < 10){ ThrustTables.push_back( new FGCoefficient(FDMExec) ); ThrustTables.back()->Load(Eng_cfg); i++;