aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/Environment/LandManagement
diff options
context:
space:
mode:
authorSean Dague2008-02-18 15:25:47 +0000
committerSean Dague2008-02-18 15:25:47 +0000
commit5314f397b290d5f023bca8f3c2e50c22a66fb281 (patch)
tree1d97b0ed4491d6db26c03746a86547acc13a8870 /OpenSim/Region/Environment/LandManagement
parent* Allow create user on standalone even if authentication is off, in case the ... (diff)
downloadopensim-SC_OLD-5314f397b290d5f023bca8f3c2e50c22a66fb281.zip
opensim-SC_OLD-5314f397b290d5f023bca8f3c2e50c22a66fb281.tar.gz
opensim-SC_OLD-5314f397b290d5f023bca8f3c2e50c22a66fb281.tar.bz2
opensim-SC_OLD-5314f397b290d5f023bca8f3c2e50c22a66fb281.tar.xz
Attempt to fix casting issue introduced by RegionSize constant. I think this
should actually all be uints, but this will hopefully let people log in again.
Diffstat (limited to 'OpenSim/Region/Environment/LandManagement')
-rw-r--r--OpenSim/Region/Environment/LandManagement/LandManager.cs2
1 files changed, 1 insertions, 1 deletions
diff --git a/OpenSim/Region/Environment/LandManagement/LandManager.cs b/OpenSim/Region/Environment/LandManagement/LandManager.cs
index f5e2a3e..af86c73 100644
--- a/OpenSim/Region/Environment/LandManagement/LandManager.cs
+++ b/OpenSim/Region/Environment/LandManagement/LandManager.cs
@@ -281,7 +281,7 @@ namespace OpenSim.Region.Environment.LandManagement
281 281
282 public Land getLandObject(int x, int y) 282 public Land getLandObject(int x, int y)
283 { 283 {
284 if (x >= Constants.RegionSize || y >= Constants.RegionSize || x < 0 || y < 0) 284 if (x >= (int)Constants.RegionSize || y >= (int)Constants.RegionSize || x < 0 || y < 0)
285 { 285 {
286 // These exceptions here will cause a lot of complaints from the users specifically because 286 // These exceptions here will cause a lot of complaints from the users specifically because
287 // they happen every time at border crossings 287 // they happen every time at border crossings