From 3f89bf4d7f241cebc118cccf2ac147ee6454216e Mon Sep 17 00:00:00 2001
From: paramat <mat.gregory@virginmedia.com>
Date: Mon, 9 May 2016 23:44:15 +0100
Subject: [PATCH] Lua_api.txt: Fix documentation for facedir rotation

---
 doc/lua_api.txt | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/doc/lua_api.txt b/doc/lua_api.txt
index a4592286a..e9ace5c87 100644
--- a/doc/lua_api.txt
+++ b/doc/lua_api.txt
@@ -554,9 +554,9 @@ node definition:
     ^ The rotation of the node is stored in param2. Furnaces and chests are
       rotated this way. Can be made by using minetest.dir_to_facedir().
       Values range 0 - 23
-      facedir modulo 4 = axisdir
+      facedir / 4 = axis direction:
       0 = y+    1 = z+    2 = z-    3 = x+    4 = x-    5 = y-
-      facedir's two less significant bits are rotation around the axis
+      facedir modulo 4 = rotation around that axis
     paramtype2 == "leveled"
     paramtype2 == "degrotate"
     ^ The rotation of this node is stored in param2. Plants are rotated this way.
-- 
GitLab