mirror of
https://github.com/opensim/opensim.git
synced 2026-08-12 04:05:42 +08:00
a new attempt at converting to the right types
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user