diff options
Diffstat (limited to 'OpenSim/Region/ClientStack/LindenUDP/LLClientView.cs')
-rw-r--r-- | OpenSim/Region/ClientStack/LindenUDP/LLClientView.cs | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/OpenSim/Region/ClientStack/LindenUDP/LLClientView.cs b/OpenSim/Region/ClientStack/LindenUDP/LLClientView.cs index 8d85d1a..7851c4d 100644 --- a/OpenSim/Region/ClientStack/LindenUDP/LLClientView.cs +++ b/OpenSim/Region/ClientStack/LindenUDP/LLClientView.cs | |||
@@ -6016,8 +6016,9 @@ namespace OpenSim.Region.ClientStack.LindenUDP | |||
6016 | SoundTrigger handlerSoundTrigger = OnSoundTrigger; | 6016 | SoundTrigger handlerSoundTrigger = OnSoundTrigger; |
6017 | if (handlerSoundTrigger != null) | 6017 | if (handlerSoundTrigger != null) |
6018 | { | 6018 | { |
6019 | handlerSoundTrigger(soundTriggerPacket.SoundData.SoundID, soundTriggerPacket.SoundData.OwnerID, | 6019 | // UUIDS are sent as zeroes by the client, substitute agent's id |
6020 | soundTriggerPacket.SoundData.ObjectID, soundTriggerPacket.SoundData.ParentID, | 6020 | handlerSoundTrigger(soundTriggerPacket.SoundData.SoundID, AgentId, |
6021 | AgentId, AgentId, | ||
6021 | soundTriggerPacket.SoundData.Gain, soundTriggerPacket.SoundData.Position, | 6022 | soundTriggerPacket.SoundData.Gain, soundTriggerPacket.SoundData.Position, |
6022 | soundTriggerPacket.SoundData.Handle, 0); | 6023 | soundTriggerPacket.SoundData.Handle, 0); |
6023 | 6024 | ||