diff options
author | est31 <MTest31@outlook.com> | 2015-10-02 23:36:28 +0200 |
---|---|---|
committer | est31 <MTest31@outlook.com> | 2015-10-04 23:59:41 +0200 |
commit | b0523adc5f673208b5414cf49c6640e4fc148b87 (patch) | |
tree | 3e6b152a4d16b2a892e829f51cdfb436c8b6d374 /src/script | |
parent | 5130dbce7b294c392733e93c05e2099786523342 (diff) | |
download | minetest-b0523adc5f673208b5414cf49c6640e4fc148b87.tar.gz minetest-b0523adc5f673208b5414cf49c6640e4fc148b87.tar.bz2 minetest-b0523adc5f673208b5414cf49c6640e4fc148b87.zip |
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.
Diffstat (limited to 'src/script')
-rw-r--r-- | src/script/cpp_api/s_node.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
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}, }; |