Broken sound path fix

actorid
Michael Papageorgiou 13 years ago
parent 4c240c644f
commit 1776ede9e1

@ -410,7 +410,12 @@ namespace MWSound
if(useSound)
{
mData = new SoundImpl(root, camera, store, dataDirs /* Sound */, dataDirs /* Music */, fsstrict);
Files::PathContainer soundDirs;;
for (Files::PathContainer::const_iterator it = dataDirs.begin(); it != dataDirs.end(); ++it)
{
soundDirs.push_back( *it / std::string("Sound"));
}
mData = new SoundImpl(root, camera, store, soundDirs /* Sound */, dataDirs /* Music */, fsstrict);
}
test.name = "";

Loading…
Cancel
Save