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
This commit is contained in:
Tleiades Hax
2007-10-21 09:32:24 +00:00
parent 2f8d7092bc
commit 9f2fcfb3ec
2 changed files with 5 additions and 2 deletions

View File

@@ -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
}