diff options
Diffstat (limited to 'OpenSim/Region')
-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 9638152..7b97080 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 < 2) | 579 | if (pos.X < 3) |
580 | { | 580 | { |
581 | neighbourx -= 1; | 581 | neighbourx -= 1; |
582 | newpos.X = 254; | 582 | newpos.X = 254; |
583 | } | 583 | } |
584 | if (pos.X > 253) | 584 | if (pos.X > 252) |
585 | { | 585 | { |
586 | neighbourx += 1; | 586 | neighbourx += 1; |
587 | newpos.X = 1; | 587 | newpos.X = 1; |
588 | } | 588 | } |
589 | if (pos.Y < 2) | 589 | if (pos.Y < 3) |
590 | { | 590 | { |
591 | neighboury -= 1; | 591 | neighboury -= 1; |
592 | newpos.Y = 254; | 592 | newpos.Y = 254; |
593 | } | 593 | } |
594 | if (pos.Y > 253) | 594 | if (pos.Y > 252) |
595 | { | 595 | { |
596 | neighboury += 1; | 596 | neighboury += 1; |
597 | newpos.Y = 1; | 597 | newpos.Y = 1; |