diff options
author | SignpostMarv | 2012-10-05 15:16:30 +0100 |
---|---|---|
committer | Justin Clark-Casey (justincc) | 2012-10-29 23:38:58 +0000 |
commit | a68e2fe1692a7611c58f774ac5b94c4298343433 (patch) | |
tree | a26fdba2a74fc1579a9dab1eed79773a4d7567b7 /OpenSim/Region/ScriptEngine/Shared/Api/Implementation | |
parent | transposing stop sound into sound module (diff) | |
download | opensim-SC-a68e2fe1692a7611c58f774ac5b94c4298343433.zip opensim-SC-a68e2fe1692a7611c58f774ac5b94c4298343433.tar.gz opensim-SC-a68e2fe1692a7611c58f774ac5b94c4298343433.tar.bz2 opensim-SC-a68e2fe1692a7611c58f774ac5b94c4298343433.tar.xz |
transposing preload sound onto sound module
Diffstat (limited to 'OpenSim/Region/ScriptEngine/Shared/Api/Implementation')
-rw-r--r-- | OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs b/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs index 25be3ff..61fd1aa 100644 --- a/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs +++ b/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs | |||
@@ -2461,7 +2461,8 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api | |||
2461 | public void llPreloadSound(string sound) | 2461 | public void llPreloadSound(string sound) |
2462 | { | 2462 | { |
2463 | m_host.AddScriptLPS(1); | 2463 | m_host.AddScriptLPS(1); |
2464 | m_host.PreloadSound(sound); | 2464 | if (m_SoundModule != null) |
2465 | m_SoundModule.PreloadSound(KeyOrName(sound), m_host.UUID, 0); | ||
2465 | ScriptSleep(1000); | 2466 | ScriptSleep(1000); |
2466 | } | 2467 | } |
2467 | 2468 | ||