diff options
author | UbitUmarov | 2019-03-19 06:10:08 +0000 |
---|---|---|
committer | UbitUmarov | 2019-03-19 06:10:08 +0000 |
commit | 1c6be0fae39e3de9e449f7da67381a63746f1702 (patch) | |
tree | 68a7a91dfd80b937a89812ef806312ee9cbc2562 /OpenSim/Region/CoreModules/World | |
parent | try save a few ns on parcel overlays (diff) | |
download | opensim-SC-1c6be0fae39e3de9e449f7da67381a63746f1702.zip opensim-SC-1c6be0fae39e3de9e449f7da67381a63746f1702.tar.gz opensim-SC-1c6be0fae39e3de9e449f7da67381a63746f1702.tar.bz2 opensim-SC-1c6be0fae39e3de9e449f7da67381a63746f1702.tar.xz |
ooops
Diffstat (limited to 'OpenSim/Region/CoreModules/World')
-rw-r--r-- | OpenSim/Region/CoreModules/World/Land/LandManagementModule.cs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/OpenSim/Region/CoreModules/World/Land/LandManagementModule.cs b/OpenSim/Region/CoreModules/World/Land/LandManagementModule.cs index c57e7bb..d693d21 100644 --- a/OpenSim/Region/CoreModules/World/Land/LandManagementModule.cs +++ b/OpenSim/Region/CoreModules/World/Land/LandManagementModule.cs | |||
@@ -1397,7 +1397,7 @@ namespace OpenSim.Region.CoreModules.World.Land | |||
1397 | { | 1397 | { |
1398 | tmpByte = curByte; | 1398 | tmpByte = curByte; |
1399 | southID = GetLandObjectIDinLandUnits(x, (y - 1)); | 1399 | southID = GetLandObjectIDinLandUnits(x, (y - 1)); |
1400 | if (southID > 0 && southID != curID) | 1400 | if (southID >= 0 && southID != curID) |
1401 | tmpByte |= LandChannel.LAND_FLAG_PROPERTY_BORDER_SOUTH; | 1401 | tmpByte |= LandChannel.LAND_FLAG_PROPERTY_BORDER_SOUTH; |
1402 | } | 1402 | } |
1403 | 1403 | ||
@@ -1435,7 +1435,7 @@ namespace OpenSim.Region.CoreModules.World.Land | |||
1435 | { | 1435 | { |
1436 | // need to check south one by one | 1436 | // need to check south one by one |
1437 | southID = GetLandObjectIDinLandUnits(x, (y - 1)); | 1437 | southID = GetLandObjectIDinLandUnits(x, (y - 1)); |
1438 | if (southID > 0 && southID != curID) | 1438 | if (southID >= 0 && southID != curID) |
1439 | { | 1439 | { |
1440 | tmpByte = curByte; | 1440 | tmpByte = curByte; |
1441 | tmpByte |= LandChannel.LAND_FLAG_PROPERTY_BORDER_SOUTH; | 1441 | tmpByte |= LandChannel.LAND_FLAG_PROPERTY_BORDER_SOUTH; |