* initialize liquid_kind properly so compiler does not bitch about it

This commit is contained in:
Nils Dagsson Moskopp 2011-07-19 02:02:50 +02:00
parent a99b7e6e05
commit 57fcfb2b0d

@ -1575,7 +1575,7 @@ void Map::transformLiquids(core::map<v3s16, MapBlock*> & modified_blocks)
Collect information about current node Collect information about current node
*/ */
s8 liquid_level = -1; s8 liquid_level = -1;
u8 liquid_kind; u8 liquid_kind = CONTENT_IGNORE;
LiquidType liquid_type = content_features(n0.d).liquid_type; LiquidType liquid_type = content_features(n0.d).liquid_type;
switch (liquid_type) { switch (liquid_type) {
case LIQUID_SOURCE: case LIQUID_SOURCE: