From 7db2e19500963620e59d0a319088d69faf297ac0 Mon Sep 17 00:00:00 2001 From: MW Date: Wed, 9 Jul 2008 11:01:26 +0000 Subject: 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]) --- OpenSim/Region/ClientStack/LindenUDP/LLClientView.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'OpenSim/Region/ClientStack/LindenUDP') 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 #region Media Parcel Members - public void SendParcelMediaCommand(ParcelMediaCommandEnum flags, uint command, float time) + public void SendParcelMediaCommand(uint flags, ParcelMediaCommandEnum command, float time) { ParcelMediaCommandMessagePacket commandMessagePacket = new ParcelMediaCommandMessagePacket(); commandMessagePacket.CommandBlock.Flags = (uint) flags; - commandMessagePacket.CommandBlock.Command = command; + commandMessagePacket.CommandBlock.Command =(uint) command; commandMessagePacket.CommandBlock.Time = time; OutPacket(commandMessagePacket, ThrottleOutPacketType.Unknown); -- cgit v1.1