]> git.mxchange.org Git - flightgear.git/blobdiff - src/AIModel/AIBase.cxx
Remove hard-coded values wherever possible;
[flightgear.git] / src / AIModel / AIBase.cxx
index d8c87f90fe2202f46433ff032ccf5265f57faaab..2d7edd550f9addc07353f74e159afcda3c341709 100644 (file)
@@ -314,7 +314,7 @@ bool FGAIBase::init(bool search_in_AI_path) {
 
         // Get the sound-path tag from the configuration file and store it
         // in the property tree.
-        string fxpath = props->getStringValue("/sim/sound/path");
+        string fxpath = props->getStringValue("sim/sound/path");
         if ( !fxpath.empty() )
         {
             props->setStringValue("sim/sound/path", fxpath.c_str());