diff options
Diffstat (limited to 'OpenSim')
-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 ebf106a..6686362 100644 --- a/OpenSim/Region/CoreModules/World/Land/LandManagementModule.cs +++ b/OpenSim/Region/CoreModules/World/Land/LandManagementModule.cs | |||
@@ -2256,7 +2256,7 @@ namespace OpenSim.Region.CoreModules.World.Land | |||
2256 | 2256 | ||
2257 | if (land.IsEitherBannedOrRestricted(avatar.UUID)) | 2257 | if (land.IsEitherBannedOrRestricted(avatar.UUID)) |
2258 | { | 2258 | { |
2259 | if (land.ContainsPoint(Convert.ToInt32(avatar.lastKnownAllowedPosition.X), Convert.ToInt32(avatar.lastKnownAllowedPosition.Y))) | 2259 | if (land.ContainsPoint((int)avatar.lastKnownAllowedPosition.X, (int)avatar.lastKnownAllowedPosition.Y)) |
2260 | { | 2260 | { |
2261 | Vector3? pos = m_scene.GetNearestAllowedPosition(avatar); | 2261 | Vector3? pos = m_scene.GetNearestAllowedPosition(avatar); |
2262 | if (pos == null) | 2262 | if (pos == null) |