diff options
author | Jürgen Doser <jurgen.doser@gmail.com> | 2013-01-25 01:37:19 +0100 |
---|---|---|
committer | PilzAdam <pilzadam@minetest.net> | 2013-03-23 23:10:47 +0100 |
commit | dacc8cdb3a0e824b435f9f4d98beb471f7a8be64 (patch) | |
tree | 78c6ed09414932c3ee1b8730845b7b58c60e4511 /src/clientserver.h | |
parent | ca7043e52d6a5d0ee1b91f287371fbe7f216697e (diff) | |
download | dragonfireclient-dacc8cdb3a0e824b435f9f4d98beb471f7a8be64.tar.xz |
Include backface_culling flag in serialization format for TileDefs
This way flowing liquids actually show the backface when specified to
do so. Without this, TileDefs where by default initialized with
backface_culling = true and never set otherwise.
For backwards compatibility, an old client connected to a new server,
or a new client connected to an old server will behave like before
i.e., backface_culling is always true.
Diffstat (limited to 'src/clientserver.h')
-rw-r--r-- | src/clientserver.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/clientserver.h b/src/clientserver.h index 769272a68..3292d1e9e 100644 --- a/src/clientserver.h +++ b/src/clientserver.h @@ -79,9 +79,11 @@ SharedBuffer<u8> makePacket_TOCLIENT_TIME_OF_DAY(u16 time, float time_speed); Serialization format changes PROTOCOL_VERSION 16: TOCLIENT_SHOW_FORMSPEC + PROTOCOL_VERSION 17: + Serialization format change: include backface_culling flag in TileDef */ -#define LATEST_PROTOCOL_VERSION 16 +#define LATEST_PROTOCOL_VERSION 17 // Server's supported network protocol range #define SERVER_PROTOCOL_VERSION_MIN 13 |