summaryrefslogtreecommitdiff
path: root/src/network/networkprotocol.h
diff options
context:
space:
mode:
authorSmallJoker <SmallJoker@users.noreply.github.com>2017-08-29 19:26:55 +0200
committerLoïc Blot <nerzhul@users.noreply.github.com>2017-08-29 19:26:55 +0200
commitb7ee608e70f8e031e3e01c9672bedb16efa648b8 (patch)
treed4aa75bc30fa45cb3ec024e92aeff3e605cc8cc0 /src/network/networkprotocol.h
parent1b3e4e173624bb2523d4386aeef6987709d9b022 (diff)
downloadminetest-b7ee608e70f8e031e3e01c9672bedb16efa648b8.tar.gz
minetest-b7ee608e70f8e031e3e01c9672bedb16efa648b8.tar.bz2
minetest-b7ee608e70f8e031e3e01c9672bedb16efa648b8.zip
Bump minimal protocol version to 36 (#6319)
* Bump minimal protocol version to 36 Item/Node/TileDef, NodeBox, TileAnimation: Remove old compat code * Accept future serialisation versions
Diffstat (limited to 'src/network/networkprotocol.h')
-rw-r--r--src/network/networkprotocol.h8
1 files changed, 5 insertions, 3 deletions
diff --git a/src/network/networkprotocol.h b/src/network/networkprotocol.h
index c90e9456a..7eefaccaa 100644
--- a/src/network/networkprotocol.h
+++ b/src/network/networkprotocol.h
@@ -176,18 +176,20 @@ with this program; if not, write to the Free Software Foundation, Inc.,
position
Add settable player stepheight using existing object property.
Breaks compatibility with older clients.
+ PROTOCOL VERSION 36:
+ Backwards compatibility drop
*/
-#define LATEST_PROTOCOL_VERSION 35
+#define LATEST_PROTOCOL_VERSION 36
// Server's supported network protocol range
-#define SERVER_PROTOCOL_VERSION_MIN 24
+#define SERVER_PROTOCOL_VERSION_MIN 36
#define SERVER_PROTOCOL_VERSION_MAX LATEST_PROTOCOL_VERSION
// Client's supported network protocol range
// The minimal version depends on whether
// send_pre_v25_init is enabled or not
-#define CLIENT_PROTOCOL_VERSION_MIN 25
+#define CLIENT_PROTOCOL_VERSION_MIN 36
#define CLIENT_PROTOCOL_VERSION_MIN_LEGACY 24
#define CLIENT_PROTOCOL_VERSION_MAX LATEST_PROTOCOL_VERSION