Prevent manually setting Data["locX"] and Data["locY"], since that would

overwrite the posX and posY members of the structure
This commit is contained in:
Melanie
2009-09-27 21:58:34 +01:00
parent b5bf3f87d5
commit 12640d0824

View File

@@ -191,6 +191,10 @@ namespace OpenSim.Data.MySQL
data.Data.Remove("sizeX");
if (data.Data.ContainsKey("sizeY"))
data.Data.Remove("sizeY");
if (data.Data.ContainsKey("locX"))
data.Data.Remove("locX");
if (data.Data.ContainsKey("locY"))
data.Data.Remove("locY");
string[] fields = new List<string>(data.Data.Keys).ToArray();