From: Perttu Ahola Date: Sun, 17 Jun 2012 14:49:12 +0000 (+0300) Subject: Increment protocol version X-Git-Url: http://81.2.79.47:8989/gitweb/?a=commitdiff_plain;h=7039dfafd6abd71e3407038122c0559fea6e1146;p=zefram%2Fminetest%2Fminetest_engine.git Increment protocol version --- diff --git a/src/clientserver.h b/src/clientserver.h index 4767a65a..559fb5b1 100644 --- a/src/clientserver.h +++ b/src/clientserver.h @@ -55,10 +55,12 @@ with this program; if not, write to the Free Software Foundation, Inc., TOCLIENT_PRIVILEGES Version raised to force 'fly' and 'fast' privileges into effect. Node metadata change (came in later; somewhat incompatible) - TileDef in ContentFeatures (non-TileDef deserialization is supported) + PROTOCOL_VERSION 11: + TileDef in ContentFeatures + Nodebox drawtype */ -#define PROTOCOL_VERSION 10 +#define PROTOCOL_VERSION 11 #define PROTOCOL_ID 0x4f457403 diff --git a/src/nodedef.cpp b/src/nodedef.cpp index 1b85a955..47a29a6f 100644 --- a/src/nodedef.cpp +++ b/src/nodedef.cpp @@ -216,7 +216,7 @@ void ContentFeatures::reset() void ContentFeatures::serialize(std::ostream &os) { - writeU8(os, 4); // version + writeU8(os, 5); // version os<