From 596cf9123ac948caa5b80173ee6e1b1619ce94e2 Mon Sep 17 00:00:00 2001 From: Adam Frisby Date: Mon, 14 May 2007 16:53:55 +0000 Subject: Fixing numerical typo in fast mode. --- OpenGridServices.GridServer/GridManager.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'OpenGridServices.GridServer/GridManager.cs') 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 if (fastMode) { - Dictionary neighbours = getRegions(TheSim.regionLocX - 256, TheSim.regionLocY - 256, TheSim.regionLocX + 256, TheSim.regionLocY + 256); + Dictionary neighbours = getRegions(TheSim.regionLocX - 1, TheSim.regionLocY - 1, TheSim.regionLocX + 1, TheSim.regionLocY + 1); foreach (KeyValuePair aSim in neighbours) { -- cgit v1.1