summaryrefslogtreecommitdiff
path: root/src/mapnode.cpp
diff options
context:
space:
mode:
authorPerttu Ahola <celeron55@gmail.com>2011-11-15 19:58:36 +0200
committerPerttu Ahola <celeron55@gmail.com>2011-11-29 19:13:44 +0200
commiteed727c61b51f46f6d172c56ecd26a3b1752d449 (patch)
tree0c6efe4379ace6c20f76267cc40ba01a69ef9ecc /src/mapnode.cpp
parent89e7bacd991060fe6cdada6bf8112f9f20c3e310 (diff)
downloadminetest-eed727c61b51f46f6d172c56ecd26a3b1752d449.tar.gz
minetest-eed727c61b51f46f6d172c56ecd26a3b1752d449.tar.bz2
minetest-eed727c61b51f46f6d172c56ecd26a3b1752d449.zip
Completely generalized mesh generation; ContentFeatures serialization
Diffstat (limited to 'src/mapnode.cpp')
-rw-r--r--src/mapnode.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/mapnode.cpp b/src/mapnode.cpp
index 9aceab17e..1e8915b03 100644
--- a/src/mapnode.cpp
+++ b/src/mapnode.cpp
@@ -26,6 +26,7 @@ with this program; if not, write to the Free Software Foundation, Inc.,
#include "nodedef.h"
#include "content_mapnode.h" // For mapnode_translate_*_internal
+#ifndef SERVER
/*
Nodes make a face if contents differ and solidness differs.
Return value:
@@ -81,6 +82,7 @@ u8 face_contents(content_t m1, content_t m2, bool *equivalent,
else
return 2;
}
+#endif
v3s16 facedir_rotate(u8 facedir, v3s16 dir)
{