mirror of
https://github.com/opensim/opensim.git
synced 2026-08-05 08:55:56 +08:00
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])
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user