From: Perttu Ahola Date: Thu, 29 Nov 2012 17:44:58 +0000 (+0200) Subject: Modify new ObjectProperties format to such that 0.4.3 will eat it X-Git-Url: http://81.2.79.47:8989/gitweb/?a=commitdiff_plain;h=69cdcea9fc30b9522da3f994e77ec54c5c7547af;p=zefram%2Fminetest%2Fminetest_engine.git Modify new ObjectProperties format to such that 0.4.3 will eat it --- diff --git a/src/object_properties.cpp b/src/object_properties.cpp index 3368a588..ec988a37 100644 --- a/src/object_properties.cpp +++ b/src/object_properties.cpp @@ -74,86 +74,61 @@ std::string ObjectProperties::dump() void ObjectProperties::serialize(std::ostream &os) const { - writeU8(os, 2); // version + writeU8(os, 1); // version writeS16(os, hp_max); writeU8(os, physical); writeF1000(os, weight); writeV3F1000(os, collisionbox.MinEdge); writeV3F1000(os, collisionbox.MaxEdge); os<