diff options
author | MW | 2008-07-09 11:01:26 +0000 |
---|---|---|
committer | MW | 2008-07-09 11:01:26 +0000 |
commit | 7db2e19500963620e59d0a319088d69faf297ac0 (patch) | |
tree | 43b6e6bf7bffafa4abf3bb0ca21eb2cb58657977 /OpenSim/Region/ClientStack | |
parent | Patch from Mike which removes a lexer warning in the LSL compiler. (diff) | |
download | opensim-SC-7db2e19500963620e59d0a319088d69faf297ac0.zip opensim-SC-7db2e19500963620e59d0a319088d69faf297ac0.tar.gz opensim-SC-7db2e19500963620e59d0a319088d69faf297ac0.tar.bz2 opensim-SC-7db2e19500963620e59d0a319088d69faf297ac0.tar.xz |
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')
-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); |