mirror of
https://github.com/opensim/opensim.git
synced 2026-08-04 16:22:50 +08:00
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.
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user