aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/CoreModules/World
diff options
context:
space:
mode:
Diffstat (limited to 'OpenSim/Region/CoreModules/World')
-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 8c1a628..06900f0 100644
--- a/OpenSim/Region/CoreModules/World/Permissions/PermissionsModule.cs
+++ b/OpenSim/Region/CoreModules/World/Permissions/PermissionsModule.cs
@@ -1302,7 +1302,11 @@ namespace OpenSim.Region.CoreModules.World.Permissions
1302 DebugPermissionInformation(MethodInfo.GetCurrentMethod().Name); 1302 DebugPermissionInformation(MethodInfo.GetCurrentMethod().Name);
1303 if (m_bypassPermissions) return m_bypassPermissionsValue; 1303 if (m_bypassPermissions) return m_bypassPermissionsValue;
1304 1304
1305 if ((newPoint.X > 257f || newPoint.X < -1f || newPoint.Y > 257f || newPoint.Y < -1f)) 1305
1306 // allow outide region??
1307 if (newPoint.X < -1f || newPoint.Y < -1f)
1308 return true;
1309 if (newPoint.X > scene.RegionInfo.RegionSizeX + 1.0f || newPoint.Y > scene.RegionInfo.RegionSizeY + 1.0f)
1306 { 1310 {
1307 return true; 1311 return true;
1308 } 1312 }