aboutsummaryrefslogtreecommitdiff
path: root/src/utility.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/utility.cpp')
-rw-r--r--src/utility.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/utility.cpp b/src/utility.cpp
index 3c6c2f286..7a43f53d2 100644
--- a/src/utility.cpp
+++ b/src/utility.cpp
@@ -156,6 +156,7 @@ void mysrand(unsigned seed)
next = seed;
}
+#ifndef SERVER
// Sets the color of all vertices in the mesh
void setMeshVerticesColor(scene::IMesh* mesh, video::SColor& color)
{
@@ -174,6 +175,7 @@ void setMeshVerticesColor(scene::IMesh* mesh, video::SColor& color)
}
}
}
+#endif
/*
blockpos: position of block in block coordinates