From: Torsten Dreyer Date: Mon, 23 Aug 2010 20:27:39 +0000 (+0200) Subject: property-rules might be read from fg-root X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=8a00bce145869961e4f7cc8add96d5fb015a3a64;p=flightgear.git property-rules might be read from fg-root --- diff --git a/src/Autopilot/autopilotgroup.cxx b/src/Autopilot/autopilotgroup.cxx index 022b83d0c..cda65d89d 100644 --- a/src/Autopilot/autopilotgroup.cxx +++ b/src/Autopilot/autopilotgroup.cxx @@ -115,7 +115,7 @@ void FGXMLAutopilotGroupImplementation::initFrom( SGPropertyNode_ptr rootNode, c SG_LOG( SG_ALL, SG_ALERT, "Duplicate property-rule configuration name " << name << ", renamed to " << apName ); } - SGPath config = globals->resolve_aircraft_path(pathNode->getStringValue()); + SGPath config = globals->resolve_maybe_aircraft_path(pathNode->getStringValue()); SG_LOG( SG_ALL, SG_INFO, "Reading property-rule configuration from " << config.str() );