Fix storing vehicle data

avinationmerge
Melanie 2012-07-07 02:29:21 +02:00
parent 6535f23e4b
commit 3024bdd097
1 changed files with 2 additions and 2 deletions

View File

@ -1647,9 +1647,9 @@ namespace OpenSim.Data.MySQL
cmd.Parameters.AddWithValue("Restitution", (double)prim.Bounciness);
if (prim.VehicleParams != null)
{
cmd.Parameters.AddWithValue("Vehicle", prim.VehicleParams.ToXml2());
}
else
cmd.Parameters.AddWithValue("Vehicle", String.Empty);
}
/// <summary>