diff options
author | Perttu Ahola <celeron55@gmail.com> | 2012-09-01 13:41:15 +0300 |
---|---|---|
committer | Perttu Ahola <celeron55@gmail.com> | 2012-09-01 13:41:15 +0300 |
commit | c0bd96d9b314e78a7aeb74b1bff70e1023b2f9e2 (patch) | |
tree | b289ba0f7d9fe240e146049a5326afa0b53a8c59 | |
parent | 0f7728f84decb836bd7d025456315c297fe30435 (diff) | |
download | minetest-c0bd96d9b314e78a7aeb74b1bff70e1023b2f9e2.tar.gz minetest-c0bd96d9b314e78a7aeb74b1bff70e1023b2f9e2.tar.bz2 minetest-c0bd96d9b314e78a7aeb74b1bff70e1023b2f9e2.zip |
Attempt to fix flying gravel and dirt
-rw-r--r-- | src/mapgen.cpp | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/mapgen.cpp b/src/mapgen.cpp index b37d03501..67e92f449 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; |