projects
/
zefram
/
minetest
/
minetest_engine.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0f7728f
)
Attempt to fix flying gravel and dirt
author
Perttu Ahola
<celeron55@gmail.com>
Sat, 1 Sep 2012 10:41:15 +0000
(13:41 +0300)
committer
Perttu Ahola
<celeron55@gmail.com>
Sat, 1 Sep 2012 10:41:15 +0000
(13:41 +0300)
src/mapgen.cpp
patch
|
blob
|
history
diff --git
a/src/mapgen.cpp
b/src/mapgen.cpp
index b37d03501aad12500e0ac882f0eb164d80a78329..67e92f4498bca02d0f458a64cb818e7b498fa760 100644
(file)
--- 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;