aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/ClientStack/LindenUDP/LLClientView.cs
diff options
context:
space:
mode:
Diffstat (limited to 'OpenSim/Region/ClientStack/LindenUDP/LLClientView.cs')
-rw-r--r--OpenSim/Region/ClientStack/LindenUDP/LLClientView.cs14
1 files changed, 12 insertions, 2 deletions
diff --git a/OpenSim/Region/ClientStack/LindenUDP/LLClientView.cs b/OpenSim/Region/ClientStack/LindenUDP/LLClientView.cs
index ff35c32..cbba661 100644
--- a/OpenSim/Region/ClientStack/LindenUDP/LLClientView.cs
+++ b/OpenSim/Region/ClientStack/LindenUDP/LLClientView.cs
@@ -2610,9 +2610,19 @@ namespace OpenSim.Region.ClientStack.LindenUDP
2610 OutPacket(PacketPool.Instance.GetPacket(PacketType.DisableSimulator), ThrottleOutPacketType.Unknown); 2610 OutPacket(PacketPool.Instance.GetPacket(PacketType.DisableSimulator), ThrottleOutPacketType.Unknown);
2611 } 2611 }
2612 2612
2613 public void SendSimStats(Packet pack) 2613 public void SendSimStats(SimStats stats)
2614 { 2614 {
2615 SimStatsPacket pack = new SimStatsPacket();
2616
2617 pack.Region.RegionX = stats.RegionX;
2618 pack.Region.RegionY = stats.RegionY;
2619 pack.Region.RegionFlags = stats.RegionFlags;
2620 pack.Region.ObjectCapacity = stats.ObjectCapacity;
2621 pack.Region = stats.RegionBlock;
2622 pack.Stat = stats.StatsBlock;
2623
2615 pack.Header.Reliable = false; 2624 pack.Header.Reliable = false;
2625
2616 OutPacket(pack, ThrottleOutPacketType.Task); 2626 OutPacket(pack, ThrottleOutPacketType.Task);
2617 } 2627 }
2618 2628