Write 'fg_root' in the property tree at /sim/fg-root
This commit is contained in:
parent
e475a50ead
commit
ee065ee6ef
1 changed files with 3 additions and 1 deletions
|
@ -118,6 +118,8 @@ void FGGlobals::set_fg_root (const string &root) {
|
|||
if ( ulFileExists( tmp.c_str() ) ) {
|
||||
fg_root += "/data";
|
||||
}
|
||||
|
||||
fgSetString("/sim/fg-root", fg_root.c_str());
|
||||
}
|
||||
|
||||
void FGGlobals::set_fg_scenery (const string &scenery) {
|
||||
|
|
Loading…
Add table
Reference in a new issue