diff options
Diffstat (limited to 'OpenSim/Data/PGSQL/PGSQLRegionData.cs')
-rw-r--r-- | OpenSim/Data/PGSQL/PGSQLRegionData.cs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/OpenSim/Data/PGSQL/PGSQLRegionData.cs b/OpenSim/Data/PGSQL/PGSQLRegionData.cs index 3924b7b..fc352c3 100644 --- a/OpenSim/Data/PGSQL/PGSQLRegionData.cs +++ b/OpenSim/Data/PGSQL/PGSQLRegionData.cs | |||
@@ -211,7 +211,7 @@ namespace OpenSim.Data.PGSQL | |||
211 | foreach (RegionData r in dbret) | 211 | foreach (RegionData r in dbret) |
212 | { | 212 | { |
213 | if (r.posX + r.sizeX > startX && r.posX <= endX | 213 | if (r.posX + r.sizeX > startX && r.posX <= endX |
214 | && r.posY + r.sizeX > startY && r.posY <= endY) | 214 | && r.posY + r.sizeY > startY && r.posY <= endY) |
215 | ret.Add(r); | 215 | ret.Add(r); |
216 | } | 216 | } |
217 | return ret; | 217 | return ret; |