diff options
Diffstat (limited to 'OpenSim/Data/MySQL/MySQLSimulationData.cs')
-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 fecc329..7df5a81 100644 --- a/OpenSim/Data/MySQL/MySQLSimulationData.cs +++ b/OpenSim/Data/MySQL/MySQLSimulationData.cs | |||
@@ -1647,9 +1647,9 @@ namespace OpenSim.Data.MySQL | |||
1647 | cmd.Parameters.AddWithValue("Restitution", (double)prim.Bounciness); | 1647 | cmd.Parameters.AddWithValue("Restitution", (double)prim.Bounciness); |
1648 | 1648 | ||
1649 | if (prim.VehicleParams != null) | 1649 | if (prim.VehicleParams != null) |
1650 | { | ||
1651 | cmd.Parameters.AddWithValue("Vehicle", prim.VehicleParams.ToXml2()); | 1650 | cmd.Parameters.AddWithValue("Vehicle", prim.VehicleParams.ToXml2()); |
1652 | } | 1651 | else |
1652 | cmd.Parameters.AddWithValue("Vehicle", String.Empty); | ||
1653 | } | 1653 | } |
1654 | 1654 | ||
1655 | /// <summary> | 1655 | /// <summary> |