From 1b63f8d6b9cb3b8775f3a541dded890b0adfa6fd Mon Sep 17 00:00:00 2001 From: Perttu Ahola Date: Wed, 5 Sep 2012 00:39:43 +0300 Subject: [PATCH] Version 0.4.3-rc0; increase PROTOCOL_VERSION due to backwards-incompatible InventoryList width field --- CMakeLists.txt | 2 +- src/clientserver.h | 4 +++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index f608f3c76..a9aa0f3a9 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -12,7 +12,7 @@ set(VERSION_EXTRA "" CACHE STRING "Stuff to append to version string") # Also remember to set PROTOCOL_VERSION in clientserver.h when releasing set(VERSION_MAJOR 0) set(VERSION_MINOR 4) -set(VERSION_PATCH 2-rc1) +set(VERSION_PATCH 3-rc0) if(VERSION_EXTRA) set(VERSION_PATCH ${VERSION_PATCH}-${VERSION_EXTRA}) endif() diff --git a/src/clientserver.h b/src/clientserver.h index a6ba8fe45..82e485d95 100644 --- a/src/clientserver.h +++ b/src/clientserver.h @@ -65,9 +65,11 @@ with this program; if not, write to the Free Software Foundation, Inc., TOSERVER_INVENTORY_FIELDS 16-bit node ids TOCLIENT_DETACHED_INVENTORY + PROTOCOL_VERSION 13: + InventoryList field "Width" (deserialization fails with old versions) */ -#define PROTOCOL_VERSION 12 +#define PROTOCOL_VERSION 13 #define PROTOCOL_ID 0x4f457403 -- 2.25.1