* initialize liquid_kind properly so compiler does not bitch about it

master
Nils Dagsson Moskopp 2011-07-19 02:02:50 +02:00
parent a99b7e6e05
commit 57fcfb2b0d
1 changed files with 1 additions and 1 deletions

View File

@ -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: