]> git.mxchange.org Git - flightgear.git/blobdiff - src/AIModel/AIBase.cxx
properly add librt when clock_gettime is used
[flightgear.git] / src / AIModel / AIBase.cxx
index 7871f7e8e08b999ca0b8f15b528b3a6e9681a21b..07fc6c31a49c38f86883ec0ee03ffd0da94efb70 100644 (file)
@@ -925,10 +925,7 @@ void FGAIModelData::modelLoaded(const string& path, SGPropertyNode *prop, osg::N
 {
     const char* fxpath = prop->getStringValue("sound/path");
     if (fxpath) {
-        string sound_path = string(fxpath);
-        if (sound_path != "") {
-            _path = "/AI/"+sound_path;
-        }
+        _path = string(fxpath);
     }
     _nasal->modelLoaded(path, prop, n);
 }