]> git.mxchange.org Git - flightgear.git/blobdiff - src/Main/globals.cxx
Fix line endings
[flightgear.git] / src / Main / globals.cxx
index 8b8a6a853c2d52c4a3bed4e51880390378adf566..6a9b3f88cd92ca2355d5e79080a6d642a0eb7300 100644 (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) {