]> git.mxchange.org Git - flightgear.git/commitdiff
property-rules might be read from fg-root
authorTorsten Dreyer <Torsten@t3r.de>
Mon, 23 Aug 2010 20:27:39 +0000 (22:27 +0200)
committerTorsten Dreyer <Torsten@t3r.de>
Mon, 23 Aug 2010 20:27:39 +0000 (22:27 +0200)
src/Autopilot/autopilotgroup.cxx

index 022b83d0c99e282b7d0a0c6bee05d17c8d516307..cda65d89d79f35090784ab81700928b2508cdba9 100644 (file)
@@ -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() );