0.9.1.0-post-fixes
UbitUmarov 2019-03-19 06:10:08 +00:00
parent 6dde1aaa14
commit 1c6be0fae3
1 changed files with 2 additions and 2 deletions

View File

@ -1397,7 +1397,7 @@ namespace OpenSim.Region.CoreModules.World.Land
{ {
tmpByte = curByte; tmpByte = curByte;
southID = GetLandObjectIDinLandUnits(x, (y - 1)); southID = GetLandObjectIDinLandUnits(x, (y - 1));
if (southID > 0 && southID != curID) if (southID >= 0 && southID != curID)
tmpByte |= LandChannel.LAND_FLAG_PROPERTY_BORDER_SOUTH; tmpByte |= LandChannel.LAND_FLAG_PROPERTY_BORDER_SOUTH;
} }
@ -1435,7 +1435,7 @@ namespace OpenSim.Region.CoreModules.World.Land
{ {
// need to check south one by one // need to check south one by one
southID = GetLandObjectIDinLandUnits(x, (y - 1)); southID = GetLandObjectIDinLandUnits(x, (y - 1));
if (southID > 0 && southID != curID) if (southID >= 0 && southID != curID)
{ {
tmpByte = curByte; tmpByte = curByte;
tmpByte |= LandChannel.LAND_FLAG_PROPERTY_BORDER_SOUTH; tmpByte |= LandChannel.LAND_FLAG_PROPERTY_BORDER_SOUTH;