]> git.mxchange.org Git - flightgear.git/blobdiff - src/Main/fg_props.cxx
Stuart Buchanan:
[flightgear.git] / src / Main / fg_props.cxx
index 4e3c9a3d471dfb255c0df1a959eedd79e051ca32..9c32d1d11276e50819644d97c634a47bd349ed4b 100644 (file)
@@ -585,7 +585,7 @@ fgLoadFlight (istream &input)
 
 
 bool
-fgLoadProps (const char * path, SGPropertyNode * props, bool in_fg_root)
+fgLoadProps (const char * path, SGPropertyNode * props, bool in_fg_root, int default_mode)
 {
     string fullpath;
     if (in_fg_root) {
@@ -597,7 +597,7 @@ fgLoadProps (const char * path, SGPropertyNode * props, bool in_fg_root)
     }
 
     try {
-        readProperties(fullpath, props);
+        readProperties(fullpath, props, default_mode);
     } catch (const sg_exception &e) {
         guiErrorMessage("Error reading properties: ", e);
         return false;