1
0
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:
Chris Robinson 2012-03-17 10:16:22 -07:00
parent 87adf6002a
commit cbeff4657f

View File

@ -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";
}