diff options
author | Brian McBee | 2007-08-03 22:40:33 +0000 |
---|---|---|
committer | Brian McBee | 2007-08-03 22:40:33 +0000 |
commit | dc7279118ff761987dcc23be695eff81c8280575 (patch) | |
tree | d2f7a40f4a2b1ec7802625a0d703c8f44e7e3677 /OpenSim | |
parent | OpenSim/Region/Physics/BasicPhysicsPlugin/BasicPhysicsPlugin.cs, OpenSim/Regi... (diff) | |
download | opensim-SC-dc7279118ff761987dcc23be695eff81c8280575.zip opensim-SC-dc7279118ff761987dcc23be695eff81c8280575.tar.gz opensim-SC-dc7279118ff761987dcc23be695eff81c8280575.tar.bz2 opensim-SC-dc7279118ff761987dcc23be695eff81c8280575.tar.xz |
OpenSim/Region/Environment/Scenes/ScenePresence.cs
More tuning of regioncrossing variables. I made tolerances a little too tight with the last patch.
Diffstat (limited to 'OpenSim')
-rw-r--r-- | OpenSim/Region/Environment/Scenes/ScenePresence.cs | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/OpenSim/Region/Environment/Scenes/ScenePresence.cs b/OpenSim/Region/Environment/Scenes/ScenePresence.cs index 6c1e835..882bb20 100644 --- a/OpenSim/Region/Environment/Scenes/ScenePresence.cs +++ b/OpenSim/Region/Environment/Scenes/ScenePresence.cs | |||
@@ -576,22 +576,22 @@ namespace OpenSim.Region.Environment.Scenes | |||
576 | uint neighbourx = this.m_regionInfo.RegionLocX; | 576 | uint neighbourx = this.m_regionInfo.RegionLocX; |
577 | uint neighboury = this.m_regionInfo.RegionLocY; | 577 | uint neighboury = this.m_regionInfo.RegionLocY; |
578 | 578 | ||
579 | if (pos.X < 1) | 579 | if (pos.X < 1.7F) |
580 | { | 580 | { |
581 | neighbourx -= 1; | 581 | neighbourx -= 1; |
582 | newpos.X = 255.9F; | 582 | newpos.X = 255.9F; |
583 | } | 583 | } |
584 | if (pos.X > 255) | 584 | if (pos.X > 254.3F) |
585 | { | 585 | { |
586 | neighbourx += 1; | 586 | neighbourx += 1; |
587 | newpos.X = 0.1F; | 587 | newpos.X = 0.1F; |
588 | } | 588 | } |
589 | if (pos.Y < 1) | 589 | if (pos.Y < 1.7F) |
590 | { | 590 | { |
591 | neighboury -= 1; | 591 | neighboury -= 1; |
592 | newpos.Y = 255.9F; | 592 | newpos.Y = 255.9F; |
593 | } | 593 | } |
594 | if (pos.Y > 255) | 594 | if (pos.Y > 254.3F) |
595 | { | 595 | { |
596 | neighboury += 1; | 596 | neighboury += 1; |
597 | newpos.Y = 0.1F; | 597 | newpos.Y = 0.1F; |