aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/Environment
diff options
context:
space:
mode:
Diffstat (limited to 'OpenSim/Region/Environment')
-rw-r--r--OpenSim/Region/Environment/Scenes/ScenePresence.cs8
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;