From: Perttu Ahola Date: Sat, 1 Sep 2012 10:41:15 +0000 (+0300) Subject: Attempt to fix flying gravel and dirt X-Git-Url: http://81.2.79.47:8989/gitweb/?a=commitdiff_plain;h=c0bd96d9b314e78a7aeb74b1bff70e1023b2f9e2;p=zefram%2Fminetest%2Fminetest_engine.git Attempt to fix flying gravel and dirt --- diff --git a/src/mapgen.cpp b/src/mapgen.cpp index b37d0350..67e92f44 100644 --- a/src/mapgen.cpp +++ b/src/mapgen.cpp @@ -1761,8 +1761,9 @@ void make_block(BlockMakeData *data) vmanip.m_data[i] = airnode; } } else { - // Don't replace air or water or lava - if(vmanip.m_data[i].getContent() == CONTENT_AIR || + // Don't replace air or water or lava or ignore + if(vmanip.m_data[i].getContent() == CONTENT_IGNORE || + vmanip.m_data[i].getContent() == CONTENT_AIR || vmanip.m_data[i].getContent() == c_water_source || vmanip.m_data[i].getContent() == c_lava_source) continue;