diff options
author | Sean Dague | 2007-12-09 14:47:18 +0000 |
---|---|---|
committer | Sean Dague | 2007-12-09 14:47:18 +0000 |
commit | cace0e055cf0bc574d412563371973aeb9c3d54a (patch) | |
tree | 616cd6e537ee283ac49b55862a7e71d86059330e /OpenSim/Region/ClientStack/PacketQueue.cs | |
parent | * Added some inter-region comms glue for allowing sims to chat amongst themse... (diff) | |
download | opensim-SC-cace0e055cf0bc574d412563371973aeb9c3d54a.zip opensim-SC-cace0e055cf0bc574d412563371973aeb9c3d54a.tar.gz opensim-SC-cace0e055cf0bc574d412563371973aeb9c3d54a.tar.bz2 opensim-SC-cace0e055cf0bc574d412563371973aeb9c3d54a.tar.xz |
change PacketQueue to take the byte[] throttle instead
of the Packet to set the throttles
Diffstat (limited to 'OpenSim/Region/ClientStack/PacketQueue.cs')
-rw-r--r-- | OpenSim/Region/ClientStack/PacketQueue.cs | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/OpenSim/Region/ClientStack/PacketQueue.cs b/OpenSim/Region/ClientStack/PacketQueue.cs index 5deede5..ca878bb 100644 --- a/OpenSim/Region/ClientStack/PacketQueue.cs +++ b/OpenSim/Region/ClientStack/PacketQueue.cs | |||
@@ -330,11 +330,8 @@ namespace OpenSim.Region.ClientStack | |||
330 | return (int)(((float)value/(float)curmax) * newmax); | 330 | return (int)(((float)value/(float)curmax) * newmax); |
331 | } | 331 | } |
332 | 332 | ||
333 | public void SetThrottleFromClient(Packet Pack) | 333 | public void SetThrottleFromClient(byte[] throttle) |
334 | { | 334 | { |
335 | AgentThrottlePacket atpack = (AgentThrottlePacket)Pack; | ||
336 | |||
337 | byte[] throttle = atpack.Throttle.Throttles; | ||
338 | int tResend = -1; | 335 | int tResend = -1; |
339 | int tLand = -1; | 336 | int tLand = -1; |
340 | int tWind = -1; | 337 | int tWind = -1; |