Fixed bug in Check4096 (HG).

0.6.8-post-fixes
Diva Canto 2009-09-28 20:11:10 -07:00
parent f4e8ac3556
commit 95981776dd
1 changed files with 2 additions and 2 deletions

View File

@ -554,8 +554,8 @@ namespace OpenSim.Region.CoreModules.ServiceConnectorsOut.Grid
x = (int)(ux / Constants.RegionSize); x = (int)(ux / Constants.RegionSize);
y = (int)(uy / Constants.RegionSize); y = (int)(uy / Constants.RegionSize);
if ((Math.Abs((int)(m_scene.RegionInfo.RegionLocX / Constants.RegionSize) - x) >= 4096) || if ((Math.Abs((int)m_scene.RegionInfo.RegionLocX - x) >= 4096) ||
(Math.Abs((int)(m_scene.RegionInfo.RegionLocY / Constants.RegionSize) - y) >= 4096)) (Math.Abs((int)m_scene.RegionInfo.RegionLocY - y) >= 4096))
{ {
return false; return false;
} }