From: Perttu Ahola Date: Sun, 22 May 2011 14:25:52 +0000 (+0300) Subject: mud placed in sunlight no longer instantly turns to grass; also tuned transforming... X-Git-Url: http://81.2.79.47:8989/gitweb/?a=commitdiff_plain;h=e0329a3caee863a2302748f710401bfc0dfa78db;p=zefram%2Fminetest%2Fminetest_engine.git 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) --- diff --git a/src/map.cpp b/src/map.cpp index 316d662a..c681a24b 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