aboutsummaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
authorUbitUmarov2015-12-03 01:13:54 +0000
committerUbitUmarov2015-12-03 01:13:54 +0000
commitc903e3afd0bbe0d46f00c78f49ac068cbba5dee5 (patch)
tree37abb159a79595c414b462662d5a1abae464a282
parentremove failed CreateAgent from agent child regions list (diff)
downloadopensim-SC_OLD-c903e3afd0bbe0d46f00c78f49ac068cbba5dee5.zip
opensim-SC_OLD-c903e3afd0bbe0d46f00c78f49ac068cbba5dee5.tar.gz
opensim-SC_OLD-c903e3afd0bbe0d46f00c78f49ac068cbba5dee5.tar.bz2
opensim-SC_OLD-c903e3afd0bbe0d46f00c78f49ac068cbba5dee5.tar.xz
fix a 1m diference in regions view range estimations
-rw-r--r--OpenSim/Framework/Util.cs2
1 files changed, 1 insertions, 1 deletions
diff --git a/OpenSim/Framework/Util.cs b/OpenSim/Framework/Util.cs
index 3e51f7f..6e851cc 100644
--- a/OpenSim/Framework/Util.cs
+++ b/OpenSim/Framework/Util.cs
@@ -741,7 +741,7 @@ namespace OpenSim.Framework
741 int oldsizex, int oldsizey, int newsizex, int newsizey) 741 int oldsizex, int oldsizey, int newsizex, int newsizey)
742 { 742 {
743 // we still need to make sure we see new region 1stNeighbors 743 // we still need to make sure we see new region 1stNeighbors
744 744 drawdist--;
745 oldx *= Constants.RegionSize; 745 oldx *= Constants.RegionSize;
746 newx *= Constants.RegionSize; 746 newx *= Constants.RegionSize;
747 if (oldx + oldsizex + drawdist < newx) 747 if (oldx + oldsizex + drawdist < newx)