aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim
diff options
context:
space:
mode:
Diffstat (limited to 'OpenSim')
-rw-r--r--OpenSim/Data/MySQL/MySQLRegionData.cs2
-rw-r--r--OpenSim/Data/PGSQL/PGSQLRegionData.cs2
2 files changed, 2 insertions, 2 deletions
diff --git a/OpenSim/Data/MySQL/MySQLRegionData.cs b/OpenSim/Data/MySQL/MySQLRegionData.cs
index 3dc049b..99d4944 100644
--- a/OpenSim/Data/MySQL/MySQLRegionData.cs
+++ b/OpenSim/Data/MySQL/MySQLRegionData.cs
@@ -204,7 +204,7 @@ namespace OpenSim.Data.MySQL
204 foreach (RegionData r in dbret) 204 foreach (RegionData r in dbret)
205 { 205 {
206 if (r.posX + r.sizeX > startX && r.posX <= endX 206 if (r.posX + r.sizeX > startX && r.posX <= endX
207 && r.posY + r.sizeX > startY && r.posY <= endY) 207 && r.posY + r.sizeY > startY && r.posY <= endY)
208 ret.Add(r); 208 ret.Add(r);
209 } 209 }
210 return ret; 210 return ret;
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;