diff --git a/src/AIModel/AIManager.cxx b/src/AIModel/AIManager.cxx index c7643a22d..0351e8342 100644 --- a/src/AIModel/AIManager.cxx +++ b/src/AIModel/AIManager.cxx @@ -222,6 +222,8 @@ void FGAIManager::processScenario( const string &filename ) { for (int i = 0; i < scenarios->nChildren(); i++) { SGPropertyNode* scEntry = scenarios->getChild(i); + if (strcmp(scEntry->getName(), "entry")) + continue; std::string type = scEntry->getStringValue("type", "aircraft"); if (type == "aircraft") {