]> git.mxchange.org Git - flightgear.git/blobdiff - src/AIModel/AIThermal.cxx
model paging patch from Till Busch
[flightgear.git] / src / AIModel / AIThermal.cxx
index 0253a0f8b83e94a40586ffe61eb876046ec011bd..d01421c734c9c2fea76b67baf09239f0ee3ec7d6 100644 (file)
@@ -54,10 +54,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() {