aboutsummaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
authorDiva Canto2009-09-28 20:11:10 -0700
committerDiva Canto2009-09-28 20:11:10 -0700
commit95981776dda88f97c4a1d016e1e266e8ff1d54aa (patch)
tree4987950e44a0255b653a34f75bc417702d9c5561
parentFixed a bug that was causing exceptions to the thrown in ROBUST MainServer. (diff)
downloadopensim-SC-95981776dda88f97c4a1d016e1e266e8ff1d54aa.zip
opensim-SC-95981776dda88f97c4a1d016e1e266e8ff1d54aa.tar.gz
opensim-SC-95981776dda88f97c4a1d016e1e266e8ff1d54aa.tar.bz2
opensim-SC-95981776dda88f97c4a1d016e1e266e8ff1d54aa.tar.xz
Fixed bug in Check4096 (HG).
Diffstat (limited to '')
-rw-r--r--OpenSim/Region/CoreModules/ServiceConnectorsOut/Grid/HGGridConnector.cs4
1 files changed, 2 insertions, 2 deletions
diff --git a/OpenSim/Region/CoreModules/ServiceConnectorsOut/Grid/HGGridConnector.cs b/OpenSim/Region/CoreModules/ServiceConnectorsOut/Grid/HGGridConnector.cs
index 1eb481e..148331b 100644
--- a/OpenSim/Region/CoreModules/ServiceConnectorsOut/Grid/HGGridConnector.cs
+++ b/OpenSim/Region/CoreModules/ServiceConnectorsOut/Grid/HGGridConnector.cs
@@ -554,8 +554,8 @@ namespace OpenSim.Region.CoreModules.ServiceConnectorsOut.Grid
554 x = (int)(ux / Constants.RegionSize); 554 x = (int)(ux / Constants.RegionSize);
555 y = (int)(uy / Constants.RegionSize); 555 y = (int)(uy / Constants.RegionSize);
556 556
557 if ((Math.Abs((int)(m_scene.RegionInfo.RegionLocX / Constants.RegionSize) - x) >= 4096) || 557 if ((Math.Abs((int)m_scene.RegionInfo.RegionLocX - x) >= 4096) ||
558 (Math.Abs((int)(m_scene.RegionInfo.RegionLocY / Constants.RegionSize) - y) >= 4096)) 558 (Math.Abs((int)m_scene.RegionInfo.RegionLocY - y) >= 4096))
559 { 559 {
560 return false; 560 return false;
561 } 561 }