aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenGridServices.GridServer/GridManager.cs
diff options
context:
space:
mode:
authorAdam Frisby2007-05-14 16:53:55 +0000
committerAdam Frisby2007-05-14 16:53:55 +0000
commit596cf9123ac948caa5b80173ee6e1b1619ce94e2 (patch)
treed96bc36efaf4a623fe15605b6203191587c81410 /OpenGridServices.GridServer/GridManager.cs
parent* Added new "fast mode" region neighbour establishment. Reduces query count b... (diff)
downloadopensim-SC-596cf9123ac948caa5b80173ee6e1b1619ce94e2.zip
opensim-SC-596cf9123ac948caa5b80173ee6e1b1619ce94e2.tar.gz
opensim-SC-596cf9123ac948caa5b80173ee6e1b1619ce94e2.tar.bz2
opensim-SC-596cf9123ac948caa5b80173ee6e1b1619ce94e2.tar.xz
Fixing numerical typo in fast mode.
Diffstat (limited to 'OpenGridServices.GridServer/GridManager.cs')
-rw-r--r--OpenGridServices.GridServer/GridManager.cs2
1 files changed, 1 insertions, 1 deletions
diff --git a/OpenGridServices.GridServer/GridManager.cs b/OpenGridServices.GridServer/GridManager.cs
index 77c22e5..db864da 100644
--- a/OpenGridServices.GridServer/GridManager.cs
+++ b/OpenGridServices.GridServer/GridManager.cs
@@ -182,7 +182,7 @@ namespace OpenGridServices.GridServer
182 182
183 if (fastMode) 183 if (fastMode)
184 { 184 {
185 Dictionary<ulong, SimProfileData> neighbours = getRegions(TheSim.regionLocX - 256, TheSim.regionLocY - 256, TheSim.regionLocX + 256, TheSim.regionLocY + 256); 185 Dictionary<ulong, SimProfileData> neighbours = getRegions(TheSim.regionLocX - 1, TheSim.regionLocY - 1, TheSim.regionLocX + 1, TheSim.regionLocY + 1);
186 186
187 foreach (KeyValuePair<ulong, SimProfileData> aSim in neighbours) 187 foreach (KeyValuePair<ulong, SimProfileData> aSim in neighbours)
188 { 188 {