bug fix. 0,0 is a vlid sim coordinate

avinationmerge
Melanie Thielker 2010-06-24 06:02:44 +02:00
parent 9d03271265
commit 6c37a02c0f
1 changed files with 1 additions and 1 deletions

View File

@ -656,7 +656,7 @@ namespace OpenSim.Region.CoreModules.World.Land
int x;
int y;
if (x_float > Constants.RegionSize || x_float <= 0 || y_float > Constants.RegionSize || y_float <= 0)
if (x_float > Constants.RegionSize || x_float < 0 || y_float > Constants.RegionSize || y_float < 0)
return null;
try