diff options
author | Nils Dagsson Moskopp <nils@dieweltistgarnichtso.net> | 2011-07-14 16:17:50 +0200 |
---|---|---|
committer | Nils Dagsson Moskopp <nils@dieweltistgarnichtso.net> | 2011-07-14 16:17:53 +0200 |
commit | 4415d95c503f083d871abaf84516f2b6487ecb60 (patch) | |
tree | dcbf0e5418e95415a6851dab6350a9449ae1b44c /src/mapnode.h | |
parent | 1cdf210e4f01b7221a241cbb911f08bc6ffa75bd (diff) | |
download | minetest-4415d95c503f083d871abaf84516f2b6487ecb60.tar.gz minetest-4415d95c503f083d871abaf84516f2b6487ecb60.tar.bz2 minetest-4415d95c503f083d871abaf84516f2b6487ecb60.zip |
* possibly improved water flow, by flyx86
- When flowing liquid starts to flow down, it stops contributing to its neighboring nodes' liquid level (possibly transforming it back to air)
- Flowing liquid turns into a source if there are at least 2 adjacent liquid source nodes
- If a new liquid flow reaches existing flowing liquid, the existing liquid is now updated properly.
Diffstat (limited to 'src/mapnode.h')
-rw-r--r-- | src/mapnode.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/mapnode.h b/src/mapnode.h index d975a50c4..d4ba0fed5 100644 --- a/src/mapnode.h +++ b/src/mapnode.h @@ -141,8 +141,10 @@ struct ContentFeatures NodeMetadata *initial_metadata; // If the content is liquid, this is the flowing version of the liquid. - // If content is liquid, this is the same content. + // If content is flowing liquid, this is the same content. u8 liquid_alternative_flowing; + // If the content is liquid, this is the source version of the liquid. + u8 liquid_alternative_source; // Amount of light the node emits u8 light_source; |