From b0523adc5f673208b5414cf49c6640e4fc148b87 Mon Sep 17 00:00:00 2001 From: est31 Date: Fri, 2 Oct 2015 23:36:28 +0200 Subject: Add new ContentParamType2 "CPT2_DEGROTATE" This might break some mods, but it is important for all uses of the param2 to be documented. This doesn't need a serialisation version or network protocol version change, as old clients will still work on new servers, and it is bearable to have new clients getting non rotated plants on old servers. --- src/script/cpp_api/s_node.cpp | 1 + 1 file changed, 1 insertion(+) (limited to 'src/script/cpp_api') diff --git a/src/script/cpp_api/s_node.cpp b/src/script/cpp_api/s_node.cpp index f90e65642..a905f843d 100644 --- a/src/script/cpp_api/s_node.cpp +++ b/src/script/cpp_api/s_node.cpp @@ -57,6 +57,7 @@ struct EnumString ScriptApiNode::es_ContentParamType2[] = {CPT2_FACEDIR, "facedir"}, {CPT2_WALLMOUNTED, "wallmounted"}, {CPT2_LEVELED, "leveled"}, + {CPT2_DEGROTATE, "degrotate"}, {0, NULL}, }; -- cgit v1.2.3