1
0
Fork 0

Fix one more place to use path resolution

(and hence work with multiple aircraft dirs)
Thanks to Jentron for the catch.
This commit is contained in:
James Turner 2010-09-06 16:10:58 +01:00
parent 8330449c5f
commit 18a5a2a144

View file

@ -373,8 +373,7 @@ void FGElectricalSystem::init () {
}
if ( path.length() ) {
SGPath config( globals->get_fg_root() );
config.append( path );
SGPath config = globals->resolve_aircraft_path(path);
// load an obsolete xml configuration
SG_LOG( SG_ALL, SG_WARN,