summaryrefslogtreecommitdiff
path: root/src/mapnode.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/mapnode.h')
-rw-r--r--src/mapnode.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/mapnode.h b/src/mapnode.h
index 70a7638d2..7fe205463 100644
--- a/src/mapnode.h
+++ b/src/mapnode.h
@@ -62,6 +62,7 @@ typedef u16 content_t;
*/
#define CONTENT_AIR 126
+#ifndef SERVER
/*
Nodes make a face if contents differ and solidness differs.
Return value:
@@ -72,6 +73,7 @@ typedef u16 content_t;
*/
u8 face_contents(content_t m1, content_t m2, bool *equivalent,
INodeDefManager *nodemgr);
+#endif
/*
Packs directions like (1,0,0), (1,-1,0) in six bits.