From 9f2fcfb3ec5b46b5e62e4fb0aa23cbfc6ae413f0 Mon Sep 17 00:00:00 2001 From: Tleiades Hax Date: Sun, 21 Oct 2007 09:32:24 +0000 Subject: Fixed a bug causing a crash during clientlog on in Windows (Thanks to Rookiie and nebadon for laying all the ground work) Fixed a bug, preventing standalone mode to report neighboring sims correctly --- OpenSim/Region/Communications/Local/LocalBackEndServices.cs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'OpenSim/Region/Communications/Local/LocalBackEndServices.cs') diff --git a/OpenSim/Region/Communications/Local/LocalBackEndServices.cs b/OpenSim/Region/Communications/Local/LocalBackEndServices.cs index fdc3994..89213a4 100644 --- a/OpenSim/Region/Communications/Local/LocalBackEndServices.cs +++ b/OpenSim/Region/Communications/Local/LocalBackEndServices.cs @@ -85,7 +85,7 @@ namespace OpenSim.Region.Communications.Local //Console.WriteLine("CommsManager- RequestNeighbours() - found a different region in list, checking location"); if ((reg.RegionLocX > (x - 2)) && (reg.RegionLocX < (x + 2))) { - if ((reg.RegionLocY > (x - 2)) && (reg.RegionLocY < (x + 2))) + if ((reg.RegionLocY > (y - 2)) && (reg.RegionLocY < (y + 2))) { neighbours.Add(reg); } @@ -255,3 +255,4 @@ namespace OpenSim.Region.Communications.Local } + -- cgit v1.1