From dacc8cdb3a0e824b435f9f4d98beb471f7a8be64 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=BCrgen=20Doser?= Date: Fri, 25 Jan 2013 01:37:19 +0100 Subject: 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. --- src/nodedef.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/nodedef.h') diff --git a/src/nodedef.h b/src/nodedef.h index b3f972b9b..4f07565d1 100644 --- a/src/nodedef.h +++ b/src/nodedef.h @@ -119,7 +119,7 @@ struct TileDef animation.length = 1.0; } - void serialize(std::ostream &os) const; + void serialize(std::ostream &os, u16 protocol_version) const; void deSerialize(std::istream &is); }; -- cgit v1.2.3