diff options
author | Dániel Juhász <juhdanad@gmail.com> | 2016-10-27 23:25:44 +0200 |
---|---|---|
committer | paramat <mat.gregory@virginmedia.com> | 2017-02-13 00:05:49 +0000 |
commit | f17c9c45dc30a388675d46418d278a4a029206e2 (patch) | |
tree | 8facf82b6c5b3fb3ff5e3632a738272de06c6952 /src/serialization.h | |
parent | 2bd10022cb06850a404f180c455954ed2f817ce3 (diff) | |
download | hax-minetest-server-f17c9c45dc30a388675d46418d278a4a029206e2.tar.gz hax-minetest-server-f17c9c45dc30a388675d46418d278a4a029206e2.zip |
Lighting: Update lighting at block loading
This commit updates mapblocks' light if necessary when they are loaded.
This removes ghost lighting.
Diffstat (limited to 'src/serialization.h')
-rw-r--r-- | src/serialization.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/serialization.h b/src/serialization.h index 01d37d363..52c63098e 100644 --- a/src/serialization.h +++ b/src/serialization.h @@ -62,13 +62,14 @@ with this program; if not, write to the Free Software Foundation, Inc., 24: 16-bit node ids and node timers (never released as stable) 25: Improved node timer format 26: Never written; read the same as 25 + 27: Added light spreading flags to blocks */ // This represents an uninitialized or invalid format #define SER_FMT_VER_INVALID 255 // Highest supported serialization version -#define SER_FMT_VER_HIGHEST_READ 26 +#define SER_FMT_VER_HIGHEST_READ 27 // Saved on disk version -#define SER_FMT_VER_HIGHEST_WRITE 25 +#define SER_FMT_VER_HIGHEST_WRITE 27 // Lowest supported serialization version #define SER_FMT_VER_LOWEST_READ 0 // Lowest serialization version for writing |