From ee065ee6efa09dcfbe13bd2bb7d319069ba9d1f8 Mon Sep 17 00:00:00 2001 From: curt Date: Mon, 9 Jan 2006 03:47:33 +0000 Subject: [PATCH] Write 'fg_root' in the property tree at /sim/fg-root --- src/Main/globals.cxx | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/Main/globals.cxx b/src/Main/globals.cxx index 8b8a6a853..6a9b3f88c 100644 --- a/src/Main/globals.cxx +++ b/src/Main/globals.cxx @@ -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) {