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:
parent
8330449c5f
commit
18a5a2a144
1 changed files with 2 additions and 3 deletions
|
@ -373,9 +373,8 @@ 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,
|
||||
"Reading deprecated xml electrical system model from\n "
|
||||
|
|
Loading…
Add table
Reference in a new issue