forked from Mirrorlandia_minetest/minetest
* initialize liquid_kind properly so compiler does not bitch about it
This commit is contained in:
parent
a99b7e6e05
commit
57fcfb2b0d
@ -1575,7 +1575,7 @@ void Map::transformLiquids(core::map<v3s16, MapBlock*> & modified_blocks)
|
||||
Collect information about current node
|
||||
*/
|
||||
s8 liquid_level = -1;
|
||||
u8 liquid_kind;
|
||||
u8 liquid_kind = CONTENT_IGNORE;
|
||||
LiquidType liquid_type = content_features(n0.d).liquid_type;
|
||||
switch (liquid_type) {
|
||||
case LIQUID_SOURCE:
|
||||
|
Loading…
Reference in New Issue
Block a user