aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPerttu Ahola <celeron55@gmail.com>2011-05-22 17:25:52 +0300
committerPerttu Ahola <celeron55@gmail.com>2011-05-22 17:25:52 +0300
commite0329a3caee863a2302748f710401bfc0dfa78db (patch)
tree85893c0f26c6ad67e15db72ea2970ea52dbc8361
parent0af53115384cda1d96337b39c4205cb7a970c069 (diff)
downloadminetest-e0329a3caee863a2302748f710401bfc0dfa78db.tar.gz
minetest-e0329a3caee863a2302748f710401bfc0dfa78db.tar.bz2
minetest-e0329a3caee863a2302748f710401bfc0dfa78db.zip
mud placed in sunlight no longer instantly turns to grass; also tuned transforming speed a bit (will be made a lot longer when testing is complete)
-rw-r--r--src/map.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/map.cpp b/src/map.cpp
index 316d662a6..c681a24b7 100644
--- 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