diff options
author | Teravus Ovares | 2007-12-20 14:44:59 +0000 |
---|---|---|
committer | Teravus Ovares | 2007-12-20 14:44:59 +0000 |
commit | 2641f78a205733dd2730302b84f46d01262bc2ec (patch) | |
tree | de8122235d7794213e0358f0465ff03172bbcee3 /OpenSim/Region/Environment/LandManagement | |
parent | * removed comment (diff) | |
download | opensim-SC-2641f78a205733dd2730302b84f46d01262bc2ec.zip opensim-SC-2641f78a205733dd2730302b84f46d01262bc2ec.tar.gz opensim-SC-2641f78a205733dd2730302b84f46d01262bc2ec.tar.bz2 opensim-SC-2641f78a205733dd2730302b84f46d01262bc2ec.tar.xz |
* Fixed a null NewPack error in ClientView.InPacket (object pool returning null objects?)
Diffstat (limited to 'OpenSim/Region/Environment/LandManagement')
-rw-r--r-- | OpenSim/Region/Environment/LandManagement/LandManager.cs | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/OpenSim/Region/Environment/LandManagement/LandManager.cs b/OpenSim/Region/Environment/LandManagement/LandManager.cs index 72c449b..310d29b 100644 --- a/OpenSim/Region/Environment/LandManagement/LandManager.cs +++ b/OpenSim/Region/Environment/LandManagement/LandManager.cs | |||
@@ -242,6 +242,9 @@ namespace OpenSim.Region.Environment.LandManagement | |||
242 | 242 | ||
243 | if (x >= 64 || y >= 64 || x < 0 || y < 0) | 243 | if (x >= 64 || y >= 64 || x < 0 || y < 0) |
244 | { | 244 | { |
245 | // These exceptions here will cause a lot of complaints from the users specifically because | ||
246 | // they happen every time at border crossings | ||
247 | |||
245 | throw new Exception("Error: Parcel not found at point " + x + ", " + y); | 248 | throw new Exception("Error: Parcel not found at point " + x + ", " + y); |
246 | } | 249 | } |
247 | else | 250 | else |
@@ -255,6 +258,8 @@ namespace OpenSim.Region.Environment.LandManagement | |||
255 | { | 258 | { |
256 | if (x >= 256 || y >= 256 || x < 0 || y < 0) | 259 | if (x >= 256 || y >= 256 || x < 0 || y < 0) |
257 | { | 260 | { |
261 | // These exceptions here will cause a lot of complaints from the users specifically because | ||
262 | // they happen every time at border crossings | ||
258 | throw new Exception("Error: Parcel not found at point " + x + ", " + y); | 263 | throw new Exception("Error: Parcel not found at point " + x + ", " + y); |
259 | } | 264 | } |
260 | else | 265 | else |