Update the goal serialization for 03d2c5e40b. Fixes #3425.

This was SVN commit r17068.
This commit is contained in:
Nicolas Auvray 2015-09-24 17:13:39 +00:00
parent a1a61be547
commit dcf8e66aca

View File

@ -236,7 +236,7 @@ struct SerializeGoal
template<typename S>
void operator()(S& serialize, const char* UNUSED(name), PathGoal& value)
{
SerializeU8_Enum<PathGoal::Type, PathGoal::SQUARE>()(serialize, "type", value.type);
SerializeU8_Enum<PathGoal::Type, PathGoal::INVERTED_SQUARE>()(serialize, "type", value.type);
serialize.NumberFixed_Unbounded("goal x", value.x);
serialize.NumberFixed_Unbounded("goal z", value.z);
serialize.NumberFixed_Unbounded("goal u x", value.u.X);