adjusting parameter order of PreloadSound to be more logical
parent
29a8ae48b5
commit
d7ffcace8f
|
@ -224,7 +224,7 @@ namespace OpenSim.Region.CoreModules.World.Sound
|
|||
}
|
||||
}
|
||||
|
||||
public virtual void PreloadSound(UUID soundID, UUID objectID, float radius)
|
||||
public virtual void PreloadSound(UUID objectID, UUID soundID, float radius)
|
||||
{
|
||||
SceneObjectPart part;
|
||||
if (soundID == UUID.Zero
|
||||
|
|
|
@ -78,12 +78,12 @@ namespace OpenSim.Region.Framework.Interfaces
|
|||
/// <summary>
|
||||
/// Preload sound to viewers within range.
|
||||
/// </summary>
|
||||
/// <param name="soundID">Sound asset ID</param>
|
||||
/// <param name="objectID">Sound source ID</param>
|
||||
/// <param name="soundID">Sound asset ID</param>
|
||||
/// <param name="radius">
|
||||
/// Radius used to determine which viewers should preload the sound.
|
||||
/// </param>
|
||||
void PreloadSound(UUID soundID, UUID objectID, float radius);
|
||||
void PreloadSound(UUID objectID, UUID soundID, float radius);
|
||||
|
||||
/// <summary>
|
||||
/// Declare object as new sync master, play specified sound at
|
||||
|
|
|
@ -2440,7 +2440,7 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api
|
|||
{
|
||||
m_host.AddScriptLPS(1);
|
||||
if (m_SoundModule != null)
|
||||
m_SoundModule.PreloadSound(KeyOrName(sound), m_host.UUID, 0);
|
||||
m_SoundModule.PreloadSound(m_host.UUID, KeyOrName(sound), 0);
|
||||
ScriptSleep(1000);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue