mirror of
https://github.com/luanti-org/luanti.git
synced 2025-06-27 16:36:03 +00:00
Use defines for liquid levels
This commit is contained in:
parent
708f1c336e
commit
5fce673a56
2 changed files with 8 additions and 4 deletions
|
@ -424,6 +424,10 @@ enum LightBank
|
|||
#define LIQUID_LEVEL_MASK 0x07
|
||||
#define LIQUID_FLOW_DOWN_MASK 0x08
|
||||
|
||||
/* maximum amount of liquid in a block */
|
||||
#define LIQUID_LEVEL_MAX LIQUID_LEVEL_MASK
|
||||
#define LIQUID_LEVEL_SOURCE (LIQUID_LEVEL_MAX+1)
|
||||
|
||||
/*
|
||||
This is the stuff what the whole world consists of.
|
||||
*/
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue