aboutsummaryrefslogtreecommitdiff
path: root/src/network
diff options
context:
space:
mode:
authorparamat <mat.gregory@virginmedia.com>2017-01-29 06:29:40 +0000
committerparamat <mat.gregory@virginmedia.com>2017-01-30 16:38:28 +0000
commitcdc538e0a242167cd7031d40670d2d4464b87f2c (patch)
tree2d635b2d559cf9828b7f8464f7dc268a7b5b972a /src/network
parente761b9f48626db2af8b62a0cf85691208951cf0d (diff)
downloadminetest-cdc538e0a242167cd7031d40670d2d4464b87f2c.tar.gz
minetest-cdc538e0a242167cd7031d40670d2d4464b87f2c.tar.bz2
minetest-cdc538e0a242167cd7031d40670d2d4464b87f2c.zip
Plantlike visual scale: Send sqrt(visual_scale) to old clients
Keep compatibility with protocol < 30 clients now that visual_scale is no longer applied twice to plantlike drawtype and mods are being updated to a new value.
Diffstat (limited to 'src/network')
-rw-r--r--src/network/networkprotocol.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/network/networkprotocol.h b/src/network/networkprotocol.h
index a511d169b..5301cc91c 100644
--- a/src/network/networkprotocol.h
+++ b/src/network/networkprotocol.h
@@ -146,6 +146,8 @@ with this program; if not, write to the Free Software Foundation, Inc.,
PROTOCOL VERSION 30:
New ContentFeatures serialization version
Add node and tile color and palette
+ Fix plantlike visual_scale being applied squared and add compatibility
+ with pre-30 clients by sending sqrt(visual_scale)
*/
#define LATEST_PROTOCOL_VERSION 30