mirror of
https://github.com/opensim/opensim.git
synced 2026-08-06 01:06:30 +08:00
shuffling code around so that the interface for ISoundModule.SendSound() specifies a UUID rather than a string
This commit is contained in:
committed by
Justin Clark-Casey (justincc)
parent
5abcecc735
commit
c5af16aef8
@@ -108,7 +108,7 @@ namespace OpenSim.Region.Framework.Interfaces
|
||||
/// <param name="radius"></param>
|
||||
/// <param name="useMaster"></param>
|
||||
/// <param name="isMaster"></param>
|
||||
void SendSound(UUID objectID, string sound, double volume,
|
||||
void SendSound(UUID objectID, UUID sound, double volume,
|
||||
bool triggered, byte flags, float radius, bool useMaster,
|
||||
bool isMaster);
|
||||
}
|
||||
|
||||
@@ -2243,7 +2243,7 @@ namespace OpenSim.Region.Framework.Scenes
|
||||
ISoundModule soundModule = ParentGroup.Scene.RequestModuleInterface<ISoundModule>();
|
||||
if (soundModule != null)
|
||||
{
|
||||
soundModule.SendSound(UUID, CollisionSound.ToString(),
|
||||
soundModule.SendSound(UUID, CollisionSound,
|
||||
CollisionSoundVolume, true, (byte)0, 0, false,
|
||||
false);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user