delete_me = false;
_impact_reported = false;
_collision_reported = false;
+ _expiry_reported = false;
+
_subID = 0;
_x_offset = 0;
{
if (model.valid()) {
- fgSetString("/ai/models/model-added", props->getPath());
+ fgSetString("/ai/models/model-added", props->getPath().c_str());
} else if (!model_path.empty()) {
SG_LOG(SG_INPUT, SG_WARN, "AIBase: Could not load model " << model_path);
return _collision_reported;
}
+bool FGAIBase::_getExpiryData() {
+ return _expiry_reported;
+}
+
bool FGAIBase::_getImpactData() {
return _impact_reported;
}