mud placed in sunlight no longer instantly turns to grass; also tuned transforming...
authorPerttu Ahola <celeron55@gmail.com>
Sun, 22 May 2011 14:25:52 +0000 (17:25 +0300)
committerPerttu Ahola <celeron55@gmail.com>
Sun, 22 May 2011 14:25:52 +0000 (17:25 +0300)
src/map.cpp

index 316d662a616225494e673a0f366e9d8e259340a1..c681a24b7bd6e0da5ecac950ce185eeafe4df16e 100644 (file)
@@ -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