diff options
author | Melanie Thielker | 2010-06-24 06:02:44 +0200 |
---|---|---|
committer | Melanie Thielker | 2010-06-24 06:02:44 +0200 |
commit | 6c37a02c0fee5147437f1b133b3fb7d1c44f89ad (patch) | |
tree | 245bbd69a2274f381621b437b12e5d67e76a79e5 | |
parent | And another (diff) | |
download | opensim-SC-6c37a02c0fee5147437f1b133b3fb7d1c44f89ad.zip opensim-SC-6c37a02c0fee5147437f1b133b3fb7d1c44f89ad.tar.gz opensim-SC-6c37a02c0fee5147437f1b133b3fb7d1c44f89ad.tar.bz2 opensim-SC-6c37a02c0fee5147437f1b133b3fb7d1c44f89ad.tar.xz |
bug fix. 0,0 is a vlid sim coordinate
-rw-r--r-- | OpenSim/Region/CoreModules/World/Land/LandManagementModule.cs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/OpenSim/Region/CoreModules/World/Land/LandManagementModule.cs b/OpenSim/Region/CoreModules/World/Land/LandManagementModule.cs index 9d6c9a9..ac8c291 100644 --- a/OpenSim/Region/CoreModules/World/Land/LandManagementModule.cs +++ b/OpenSim/Region/CoreModules/World/Land/LandManagementModule.cs | |||
@@ -656,7 +656,7 @@ namespace OpenSim.Region.CoreModules.World.Land | |||
656 | int x; | 656 | int x; |
657 | int y; | 657 | int y; |
658 | 658 | ||
659 | if (x_float > Constants.RegionSize || x_float <= 0 || y_float > Constants.RegionSize || y_float <= 0) | 659 | if (x_float > Constants.RegionSize || x_float < 0 || y_float > Constants.RegionSize || y_float < 0) |
660 | return null; | 660 | return null; |
661 | 661 | ||
662 | try | 662 | try |