diff options
corrected the params types on IClientAPI.SendParcelMediaCommand. the command parameter should be set to the the ParcelMediaCommandEnum value. While flags seems to need to be set to (uint)(1<<[value of the command enum])
Diffstat (limited to 'OpenSim/Region/ClientStack/LindenUDP')
-rw-r--r-- | OpenSim/Region/ClientStack/LindenUDP/LLClientView.cs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/OpenSim/Region/ClientStack/LindenUDP/LLClientView.cs b/OpenSim/Region/ClientStack/LindenUDP/LLClientView.cs index afae760..0e546db 100644 --- a/OpenSim/Region/ClientStack/LindenUDP/LLClientView.cs +++ b/OpenSim/Region/ClientStack/LindenUDP/LLClientView.cs | |||
@@ -6597,11 +6597,11 @@ namespace OpenSim.Region.ClientStack.LindenUDP | |||
6597 | 6597 | ||
6598 | #region Media Parcel Members | 6598 | #region Media Parcel Members |
6599 | 6599 | ||
6600 | public void SendParcelMediaCommand(ParcelMediaCommandEnum flags, uint command, float time) | 6600 | public void SendParcelMediaCommand(uint flags, ParcelMediaCommandEnum command, float time) |
6601 | { | 6601 | { |
6602 | ParcelMediaCommandMessagePacket commandMessagePacket = new ParcelMediaCommandMessagePacket(); | 6602 | ParcelMediaCommandMessagePacket commandMessagePacket = new ParcelMediaCommandMessagePacket(); |
6603 | commandMessagePacket.CommandBlock.Flags = (uint) flags; | 6603 | commandMessagePacket.CommandBlock.Flags = (uint) flags; |
6604 | commandMessagePacket.CommandBlock.Command = command; | 6604 | commandMessagePacket.CommandBlock.Command =(uint) command; |
6605 | commandMessagePacket.CommandBlock.Time = time; | 6605 | commandMessagePacket.CommandBlock.Time = time; |
6606 | 6606 | ||
6607 | OutPacket(commandMessagePacket, ThrottleOutPacketType.Unknown); | 6607 | OutPacket(commandMessagePacket, ThrottleOutPacketType.Unknown); |