forked from mirror/openmw-tes3mp
Broken sound path fix
This commit is contained in:
parent
4c240c644f
commit
1776ede9e1
1 changed files with 6 additions and 1 deletions
|
@ -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…
Reference in a new issue