mirror of
https://gitlab.com/OpenMW/openmw.git
synced 2025-01-25 06:35:30 +00:00
Pass the loop and untracked flags when playing a 3d sound
This commit is contained in:
parent
87adf6002a
commit
cbeff4657f
@ -329,7 +329,7 @@ namespace MWSound
|
||||
float min, max;
|
||||
std::string file = lookup(soundId, volume, min, max);
|
||||
if(!file.empty())
|
||||
play3d(file, ptr, soundId, volume, pitch, min, max, false);
|
||||
play3d(file, ptr, soundId, volume, pitch, min, max, loop, untracked);
|
||||
else
|
||||
std::cout << "Sound file " << soundId << " not found, skipping.\n";
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user