Revert "Fix minetest.facedir_to_dir when param2 is 5 or 7."
authorNovatux <nathanael.courant@laposte.net>
Mon, 30 Dec 2013 17:45:34 +0000 (18:45 +0100)
committerNovatux <nathanael.courant@laposte.net>
Mon, 30 Dec 2013 17:45:34 +0000 (18:45 +0100)
This reverts commit 4e5760a5416cbca6945b1b4484cbd96bea7b250c.

builtin/item.lua

index 2f2422c8155bbc6a809a1f81e611fc467b8bd02f..0df0335d91df61205676ec991772e24405b45356 100644 (file)
@@ -98,7 +98,7 @@ function minetest.facedir_to_dir(facedir)
 
                                        --indexed into by a table of correlating facedirs
                                        [({[0]=1, 2, 3, 4, 
-                                               5, 4, 6, 2,
+                                               5, 2, 6, 4,
                                                6, 2, 5, 4,
                                                1, 5, 3, 6,
                                                1, 6, 3, 5,