summaryrefslogtreecommitdiff
path: root/src/nodedef.h
diff options
context:
space:
mode:
authorJürgen Doser <jurgen.doser@gmail.com>2013-01-25 01:37:19 +0100
committerPilzAdam <pilzadam@minetest.net>2013-03-23 23:10:47 +0100
commitdacc8cdb3a0e824b435f9f4d98beb471f7a8be64 (patch)
tree78c6ed09414932c3ee1b8730845b7b58c60e4511 /src/nodedef.h
parentca7043e52d6a5d0ee1b91f287371fbe7f216697e (diff)
downloadminetest-dacc8cdb3a0e824b435f9f4d98beb471f7a8be64.tar.gz
minetest-dacc8cdb3a0e824b435f9f4d98beb471f7a8be64.tar.bz2
minetest-dacc8cdb3a0e824b435f9f4d98beb471f7a8be64.zip
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/nodedef.h')
-rw-r--r--src/nodedef.h2
1 files changed, 1 insertions, 1 deletions
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);
};