aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/CoreModules
diff options
context:
space:
mode:
Diffstat (limited to 'OpenSim/Region/CoreModules')
-rw-r--r--OpenSim/Region/CoreModules/World/Permissions/PermissionsModule.cs6
1 files changed, 5 insertions, 1 deletions
diff --git a/OpenSim/Region/CoreModules/World/Permissions/PermissionsModule.cs b/OpenSim/Region/CoreModules/World/Permissions/PermissionsModule.cs
index c83454e..303f8a8 100644
--- a/OpenSim/Region/CoreModules/World/Permissions/PermissionsModule.cs
+++ b/OpenSim/Region/CoreModules/World/Permissions/PermissionsModule.cs
@@ -1303,7 +1303,11 @@ namespace OpenSim.Region.CoreModules.World.Permissions
1303 DebugPermissionInformation(MethodInfo.GetCurrentMethod().Name); 1303 DebugPermissionInformation(MethodInfo.GetCurrentMethod().Name);
1304 if (m_bypassPermissions) return m_bypassPermissionsValue; 1304 if (m_bypassPermissions) return m_bypassPermissionsValue;
1305 1305
1306 if ((newPoint.X > 257f || newPoint.X < -1f || newPoint.Y > 257f || newPoint.Y < -1f)) 1306
1307 // allow outide region??
1308 if (newPoint.X < -1f || newPoint.Y < -1f)
1309 return true;
1310 if (newPoint.X > scene.RegionInfo.RegionSizeX + 1.0f || newPoint.Y > scene.RegionInfo.RegionSizeY + 1.0f)
1307 { 1311 {
1308 return true; 1312 return true;
1309 } 1313 }