mirror of
https://github.com/opensim/opensim.git
synced 2026-07-14 03:15:36 +08:00
change PacketQueue to take the byte[] throttle instead
of the Packet to set the throttles
This commit is contained in:
@@ -330,11 +330,8 @@ namespace OpenSim.Region.ClientStack
|
||||
return (int)(((float)value/(float)curmax) * newmax);
|
||||
}
|
||||
|
||||
public void SetThrottleFromClient(Packet Pack)
|
||||
public void SetThrottleFromClient(byte[] throttle)
|
||||
{
|
||||
AgentThrottlePacket atpack = (AgentThrottlePacket)Pack;
|
||||
|
||||
byte[] throttle = atpack.Throttle.Throttles;
|
||||
int tResend = -1;
|
||||
int tLand = -1;
|
||||
int tWind = -1;
|
||||
|
||||
Reference in New Issue
Block a user