diff options
Diffstat (limited to 'OpenSim')
-rw-r--r-- | OpenSim/Framework/RegionInfo.cs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/OpenSim/Framework/RegionInfo.cs b/OpenSim/Framework/RegionInfo.cs index b6e9d9f..ca17793 100644 --- a/OpenSim/Framework/RegionInfo.cs +++ b/OpenSim/Framework/RegionInfo.cs | |||
@@ -789,13 +789,13 @@ namespace OpenSim.Framework | |||
789 | bool ValuesCapped = false; | 789 | bool ValuesCapped = false; |
790 | 790 | ||
791 | // Minimum Positions | 791 | // Minimum Positions |
792 | if (DefaultLandingPoint.X < 0f) | 792 | if (DefaultLandingPoint.X < buffer_zone) |
793 | { | 793 | { |
794 | DefaultLandingPoint.X = buffer_zone; | 794 | DefaultLandingPoint.X = buffer_zone; |
795 | ValuesCapped = true; | 795 | ValuesCapped = true; |
796 | } | 796 | } |
797 | 797 | ||
798 | if (DefaultLandingPoint.Y < 0f) | 798 | if (DefaultLandingPoint.Y < buffer_zone) |
799 | { | 799 | { |
800 | DefaultLandingPoint.Y = buffer_zone; | 800 | DefaultLandingPoint.Y = buffer_zone; |
801 | ValuesCapped = true; | 801 | ValuesCapped = true; |