X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=src%2FAIModel%2FAIThermal.cxx;h=e9ad927a137e24fc4aedb4fda5364d63e9200dc1;hb=7e73a8788223c9c2af3c26435162e0667b412279;hp=0253a0f8b83e94a40586ffe61eb876046ec011bd;hpb=c2d8dcc18baf88176ad48f0b7163dcb4aee51f90;p=flightgear.git diff --git a/src/AIModel/AIThermal.cxx b/src/AIModel/AIThermal.cxx index 0253a0f8b..e9ad927a1 100644 --- a/src/AIModel/AIThermal.cxx +++ b/src/AIModel/AIThermal.cxx @@ -22,14 +22,13 @@ # include #endif -#include #include
#include
#include #include #include -SG_USING_STD(string); +using std::string; #include "AIThermal.hxx" @@ -54,10 +53,10 @@ void FGAIThermal::readFromScenario(SGPropertyNode* scFileNode) { setHeight(scFileNode->getDoubleValue("height-msl", 5000.0)); } -bool FGAIThermal::init() { +bool FGAIThermal::init(bool search_in_AI_path) { factor = 8.0 * max_strength / (diameter * diameter * diameter); setAltitude( height ); - return FGAIBase::init(); + return FGAIBase::init(search_in_AI_path); } void FGAIThermal::bind() {