diff options
Diffstat (limited to 'OpenSim/Region')
-rwxr-xr-x | OpenSim/Region/Framework/Scenes/Scene.cs | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/OpenSim/Region/Framework/Scenes/Scene.cs b/OpenSim/Region/Framework/Scenes/Scene.cs index 3b9f551..0fb62a4 100755 --- a/OpenSim/Region/Framework/Scenes/Scene.cs +++ b/OpenSim/Region/Framework/Scenes/Scene.cs | |||
@@ -2990,8 +2990,9 @@ namespace OpenSim.Region.Framework.Scenes | |||
2990 | return false; | 2990 | return false; |
2991 | 2991 | ||
2992 | int yy = (int)pos.Y; | 2992 | int yy = (int)pos.Y; |
2993 | if (yy < 0 || yy >= RegionInfo.RegionSizeX) | 2993 | if (yy < 0 || yy >= RegionInfo.RegionSizeY) |
2994 | return false; | 2994 | return false; |
2995 | |||
2995 | return true; | 2996 | return true; |
2996 | } | 2997 | } |
2997 | 2998 | ||