From ac674ccbfc0d3b2052f6408a8c99d19f27a1ddc0 Mon Sep 17 00:00:00 2001
From: Teravus Ovares
Date: Thu, 9 Oct 2008 11:44:26 +0000
Subject: * Fixes simstats reporter.   I'm sure this issue caused all sorts of
 things related to regionflags and capacity.  I'm sorry, the object capacity
 that you dialed is not valid..  please check the number and dial again.

---
 OpenSim/Region/ClientStack/LindenUDP/LLClientView.cs | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/OpenSim/Region/ClientStack/LindenUDP/LLClientView.cs b/OpenSim/Region/ClientStack/LindenUDP/LLClientView.cs
index b2138aa..b1f4d7c 100644
--- a/OpenSim/Region/ClientStack/LindenUDP/LLClientView.cs
+++ b/OpenSim/Region/ClientStack/LindenUDP/LLClientView.cs
@@ -2613,12 +2613,12 @@ namespace OpenSim.Region.ClientStack.LindenUDP
         public void SendSimStats(SimStats stats)
         {
             SimStatsPacket pack = new SimStatsPacket();
-            
+            pack.Region = new SimStatsPacket.RegionBlock();
             pack.Region.RegionX = stats.RegionX;
             pack.Region.RegionY = stats.RegionY;
             pack.Region.RegionFlags = stats.RegionFlags;
             pack.Region.ObjectCapacity = stats.ObjectCapacity;
-            pack.Region = stats.RegionBlock;
+            //pack.Region = //stats.RegionBlock;
             pack.Stat = stats.StatsBlock;
             
             pack.Header.Reliable = false;
-- 
cgit v1.1