1
0
Fork 0

Write 'fg_root' in the property tree at /sim/fg-root

This commit is contained in:
curt 2006-01-09 03:47:33 +00:00
parent e475a50ead
commit ee065ee6ef

View file

@ -117,7 +117,9 @@ void FGGlobals::set_fg_root (const string &root) {
tmp.append( "version" );
if ( ulFileExists( tmp.c_str() ) ) {
fg_root += "/data";
}
}
fgSetString("/sim/fg-root", fg_root.c_str());
}
void FGGlobals::set_fg_scenery (const string &scenery) {