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.
ThreadPoolClientBranch
Sean Dague 2008-02-18 15:25:47 +00:00
parent ad40ee7307
commit 5314f397b2
1 changed files with 1 additions and 1 deletions

View File

@ -281,7 +281,7 @@ namespace OpenSim.Region.Environment.LandManagement
public Land getLandObject(int x, int y)
{
if (x >= Constants.RegionSize || y >= Constants.RegionSize || x < 0 || y < 0)
if (x >= (int)Constants.RegionSize || y >= (int)Constants.RegionSize || x < 0 || y < 0)
{
// These exceptions here will cause a lot of complaints from the users specifically because
// they happen every time at border crossings