]> git.mxchange.org Git - simgear.git/blobdiff - simgear/sound/xmlsound.cxx
Oops, one addtional tweak.
[simgear.git] / simgear / sound / xmlsound.cxx
index f9d6e3e5c3303623b756c3e3a73e434a96274752..79d441e7fd823d4d0b7dd0923a288c5da394d8e3 100644 (file)
@@ -239,7 +239,8 @@ SGXmlSound::init(SGPropertyNode *root, SGPropertyNode *node, SGSoundMgr *sndmgr,
    _mgr = sndmgr;
    if ( (_sample = _mgr->find(_name)) == NULL ) {
        _sample = new SGSoundSample( path.c_str(),
-                                    node->getStringValue("path", "") );
+                                    node->getStringValue("path", ""),
+                                    true );
        _mgr->add( _sample, _name );
    }