Add note about trans_table_19.
authorPerttu Ahola <celeron55@gmail.com>
Tue, 6 Sep 2011 22:19:48 +0000 (01:19 +0300)
committerPerttu Ahola <celeron55@gmail.com>
Tue, 6 Sep 2011 22:19:48 +0000 (01:19 +0300)
src/content_mapnode.cpp

index e18112ae4c7c8b7c0ff38321f7ea66974e645f87..51f2f97368e1d8da31ce77f324e7826e24878218 100644 (file)
@@ -36,6 +36,11 @@ void setStoneLikeDiggingProperties(DiggingPropertiesList &list, float toughness)
 void setDirtLikeDiggingProperties(DiggingPropertiesList &list, float toughness);
 void setWoodLikeDiggingProperties(DiggingPropertiesList &list, float toughness);
 
+/*
+       A conversion table for backwards compatibility.
+       Maps <=v19 content types to current ones.
+       Should never be touched.
+*/
 content_t trans_table_19[21][2] = {
        {CONTENT_GRASS, 1},
        {CONTENT_TREE, 4},