wind_from_east_node = fgGetNode("/environment/wind-from-east-fps",true);
wind_from_north_node = fgGetNode("/environment/wind-from-north-fps",true);
wind_from_east_node = fgGetNode("/environment/wind-from-east-fps",true);
wind_from_north_node = fgGetNode("/environment/wind-from-north-fps",true);
} else if (type == "thunderstorm") {
FGAIStorm* storm = new FGAIStorm;
storm->readFromScenario(scEntry);
} else if (type == "thunderstorm") {
FGAIStorm* storm = new FGAIStorm;
storm->readFromScenario(scEntry);
- || type == FGAIBase::otStorm || type == FGAIBase::otThermal) {
- SG_LOG(SG_GENERAL, SG_DEBUG, "AIManager: skipping "
- << fabs(tgt_alt - alt)
- << " "
- << type
- );
- ++ai_list_itr;
- continue;
+ || type == FGAIBase::otStorm || type == FGAIBase::otThermal ) {
+ SG_LOG(SG_GENERAL, SG_DEBUG, "AIManager: skipping "
+ << fabs(tgt_alt - alt)
+ << " "
+ << type
+ );
+ ++ai_list_itr;
+ continue;