From 8e26c5c0664bcf140ced8db98e6ed99802a7d9fa Mon Sep 17 00:00:00 2001 From: Perttu Ahola Date: Wed, 7 Sep 2011 01:19:48 +0300 Subject: [PATCH] Add note about trans_table_19. --- src/content_mapnode.cpp | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/content_mapnode.cpp b/src/content_mapnode.cpp index e18112ae..51f2f973 100644 --- a/src/content_mapnode.cpp +++ b/src/content_mapnode.cpp @@ -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}, -- 2.30.2