a new attempt at converting to the right types
parent
5314f397b2
commit
28c808446d
|
@ -281,7 +281,7 @@ namespace OpenSim.Region.Environment.LandManagement
|
||||||
|
|
||||||
public Land getLandObject(int x, int y)
|
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
|
// These exceptions here will cause a lot of complaints from the users specifically because
|
||||||
// they happen every time at border crossings
|
// they happen every time at border crossings
|
||||||
|
|
Loading…
Reference in New Issue