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:
0af5311
)
mud placed in sunlight no longer instantly turns to grass; also tuned transforming...
author
Perttu Ahola
<celeron55@gmail.com>
Sun, 22 May 2011 14:25:52 +0000
(17:25 +0300)
committer
Perttu Ahola
<celeron55@gmail.com>
Sun, 22 May 2011 14:25:52 +0000
(17:25 +0300)
src/map.cpp
patch
|
blob
|
history
diff --git
a/src/map.cpp
b/src/map.cpp
index 316d662a616225494e673a0f366e9d8e259340a1..c681a24b7bd6e0da5ecac950ce185eeafe4df16e 100644
(file)
--- a/
src/map.cpp
+++ b/
src/map.cpp
@@
-897,6
+897,7
@@
void Map::addNodeAndUpdate(v3s16 p, MapNode n,
}
#endif
+#if 0
/*
If the new node is mud and it is under sunlight, change it
to grass
@@
-905,6
+906,7
@@
void Map::addNodeAndUpdate(v3s16 p, MapNode n,
{
n.d = CONTENT_GRASS;
}
+#endif
/*
Remove all light that has come out of this node