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
parent
ad40ee7307
commit
5314f397b2
|
@ -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 >= 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
|
// 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