transposing preload sound onto sound module

This commit is contained in:
SignpostMarv
2012-10-05 15:16:30 +01:00
committed by Justin Clark-Casey (justincc)
parent 8763a637b5
commit a68e2fe169
4 changed files with 32 additions and 32 deletions

View File

@@ -2461,7 +2461,8 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api
public void llPreloadSound(string sound)
{
m_host.AddScriptLPS(1);
m_host.PreloadSound(sound);
if (m_SoundModule != null)
m_SoundModule.PreloadSound(KeyOrName(sound), m_host.UUID, 0);
ScriptSleep(1000);
}