aboutsummaryrefslogtreecommitdiff
path: root/src/mapnode.h
diff options
context:
space:
mode:
authorPerttu Ahola <celeron55@gmail.com>2011-07-30 23:33:57 +0300
committerPerttu Ahola <celeron55@gmail.com>2011-07-30 23:33:57 +0300
commit8e1eacf3a87a0cee39c8c27c3846828c12e73f9d (patch)
tree0863d9782fa44d73ae25867aba1edacae6f15252 /src/mapnode.h
parent4ccc99b291d7aa9ccb3e3c56f9d63bf30e02b0b9 (diff)
downloadminetest-8e1eacf3a87a0cee39c8c27c3846828c12e73f9d.tar.xz
Fixed handling of inventory in creative mode (normal inventory is not trashed anymore), fixed mese pick speed, added some forgotten stuff
Diffstat (limited to 'src/mapnode.h')
-rw-r--r--src/mapnode.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/mapnode.h b/src/mapnode.h
index 956de6852..aeb72c97a 100644
--- a/src/mapnode.h
+++ b/src/mapnode.h
@@ -391,6 +391,9 @@ inline v3s16 unpackDir(u8 b)
facedir: CPT_FACEDIR_SIMPLE param1 value
dir: The face for which stuff is wanted
return value: The face from which the stuff is actually found
+
+ NOTE: Currently this uses 2 bits for Z-,X-,Z+,X+, should there be Y+
+ and Y- too?
*/
v3s16 facedir_rotate(u8 facedir, v3s16 dir);