diff options
author | UbitUmarov | 2015-12-03 01:13:54 +0000 |
---|---|---|
committer | UbitUmarov | 2015-12-03 01:13:54 +0000 |
commit | c903e3afd0bbe0d46f00c78f49ac068cbba5dee5 (patch) | |
tree | 37abb159a79595c414b462662d5a1abae464a282 /OpenSim/Framework/Util.cs | |
parent | remove failed CreateAgent from agent child regions list (diff) | |
download | opensim-SC-c903e3afd0bbe0d46f00c78f49ac068cbba5dee5.zip opensim-SC-c903e3afd0bbe0d46f00c78f49ac068cbba5dee5.tar.gz opensim-SC-c903e3afd0bbe0d46f00c78f49ac068cbba5dee5.tar.bz2 opensim-SC-c903e3afd0bbe0d46f00c78f49ac068cbba5dee5.tar.xz |
fix a 1m diference in regions view range estimations
Diffstat (limited to '')
-rw-r--r-- | OpenSim/Framework/Util.cs | 2 |
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) |