diff options
author | Dennis Jenkins <dennis.jenkins.75@gmail.com> | 2022-02-12 11:23:46 -0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-02-12 20:23:46 +0100 |
commit | 0cd9c5b5be47dffd433e9bad8fd2119eb9ddf0f5 (patch) | |
tree | 399129ba314dacdce3e8d8962a7717b64351e364 /doc/world_format.txt | |
parent | a8707158a5be8c604fdb028a9c5f68ce5804016e (diff) | |
download | minetest-0cd9c5b5be47dffd433e9bad8fd2119eb9ddf0f5.tar.gz minetest-0cd9c5b5be47dffd433e9bad8fd2119eb9ddf0f5.tar.bz2 minetest-0cd9c5b5be47dffd433e9bad8fd2119eb9ddf0f5.zip |
Correct world_format.txt specification (#12061)
The node timers appear at the end of a mapblock for map format version >= 25, not just map format version 25.
Diffstat (limited to 'doc/world_format.txt')
-rw-r--r-- | doc/world_format.txt | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/doc/world_format.txt b/doc/world_format.txt index 98c9d2009..3035c4efb 100644 --- a/doc/world_format.txt +++ b/doc/world_format.txt @@ -346,6 +346,9 @@ if map format version >= 29: - 0xffffffff = invalid/unknown timestamp, nothing should be done with the time difference when loaded + u8 name_id_mapping_version + - Should be zero for map format version 29. + u16 num_name_id_mappings foreach num_name_id_mappings u16 id @@ -447,7 +450,7 @@ if map format version < 29: u8[name_len] name - Node timers -if map format version == 25: +if map format version >= 25: u8 length of the data of a single timer (always 2+4+4=10) u16 num_of_timers foreach num_of_timers: |