Skip to content
Snippets Groups Projects
Commit 57fcfb2b authored by Nils Dagsson Moskopp's avatar Nils Dagsson Moskopp
Browse files

* initialize liquid_kind properly so compiler does not bitch about it

parent a99b7e6e
No related branches found
No related tags found
No related merge requests found
......@@ -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:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment