mirror of
https://github.com/luanti-org/luanti.git
synced 2025-06-27 16:36:03 +00:00
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.
This commit is contained in:
parent
e761b9f486
commit
cdc538e0a2
2 changed files with 9 additions and 3 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue