a new attempt at converting to the right types

ThreadPoolClientBranch
Sean Dague 2008-02-18 15:34:03 +00:00
parent 5314f397b2
commit 28c808446d
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 >= (int)Constants.RegionSize || y >= (int)Constants.RegionSize || x < 0 || y < 0)
if (x >= Convert.ToInt32(Constants.RegionSize) || y >= Convert.ToInt32(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