forked from teamnwah/openmw-tes3coop
Pass the loop and untracked flags when playing a 3d sound
This commit is contained in:
parent
87adf6002a
commit
cbeff4657f
1 changed files with 1 additions and 1 deletions
|
@ -329,7 +329,7 @@ namespace MWSound
|
||||||
float min, max;
|
float min, max;
|
||||||
std::string file = lookup(soundId, volume, min, max);
|
std::string file = lookup(soundId, volume, min, max);
|
||||||
if(!file.empty())
|
if(!file.empty())
|
||||||
play3d(file, ptr, soundId, volume, pitch, min, max, false);
|
play3d(file, ptr, soundId, volume, pitch, min, max, loop, untracked);
|
||||||
else
|
else
|
||||||
std::cout << "Sound file " << soundId << " not found, skipping.\n";
|
std::cout << "Sound file " << soundId << " not found, skipping.\n";
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue