diff options
author | BlueWall | 2012-01-23 11:10:56 -0500 |
---|---|---|
committer | BlueWall | 2012-01-23 11:10:56 -0500 |
commit | c1f6478a37fd3f52db6064ca6c7bc34bf9a95070 (patch) | |
tree | 27eb5ef444c78fba00f29ed3223952ceae26c517 | |
parent | Merge branch 'telehub' (diff) | |
parent | Merge branch 'master' of melanie@opensimulator.org:/var/git/opensim (diff) | |
download | opensim-SC_OLD-c1f6478a37fd3f52db6064ca6c7bc34bf9a95070.zip opensim-SC_OLD-c1f6478a37fd3f52db6064ca6c7bc34bf9a95070.tar.gz opensim-SC_OLD-c1f6478a37fd3f52db6064ca6c7bc34bf9a95070.tar.bz2 opensim-SC_OLD-c1f6478a37fd3f52db6064ca6c7bc34bf9a95070.tar.xz |
Merge branch 'master' of ssh://opensimulator.org/var/git/opensim
-rw-r--r-- | OpenSim/Data/MySQL/MySQLSimulationData.cs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/OpenSim/Data/MySQL/MySQLSimulationData.cs b/OpenSim/Data/MySQL/MySQLSimulationData.cs index a48b91b..b94f6ac 100644 --- a/OpenSim/Data/MySQL/MySQLSimulationData.cs +++ b/OpenSim/Data/MySQL/MySQLSimulationData.cs | |||
@@ -1912,11 +1912,11 @@ namespace OpenSim.Data.MySQL | |||
1912 | 1912 | ||
1913 | cmd.Parameters.Clear(); | 1913 | cmd.Parameters.Clear(); |
1914 | 1914 | ||
1915 | cmd.CommandText = "insert into spawn_points (RegionID, PointX, PointY, PointZ) values ( ?EstateID, ?PointX, ?PointY,?PointZ)"; | 1915 | cmd.CommandText = "insert into spawn_points (RegionID, PointX, PointY, PointZ) values ( ?RegionID, ?PointX, ?PointY,?PointZ)"; |
1916 | 1916 | ||
1917 | foreach (Vector3 p in rs.SpawnPoints()) | 1917 | foreach (Vector3 p in rs.SpawnPoints()) |
1918 | { | 1918 | { |
1919 | cmd.Parameters.AddWithValue("?EstateID", rs.RegionUUID.ToString()); | 1919 | cmd.Parameters.AddWithValue("?RegionID", rs.RegionUUID.ToString()); |
1920 | cmd.Parameters.AddWithValue("?PointX", p.X); | 1920 | cmd.Parameters.AddWithValue("?PointX", p.X); |
1921 | cmd.Parameters.AddWithValue("?PointY", p.Y); | 1921 | cmd.Parameters.AddWithValue("?PointY", p.Y); |
1922 | cmd.Parameters.AddWithValue("?PointZ", p.Z); | 1922 | cmd.Parameters.AddWithValue("?PointZ", p.Z); |