From 9e46cbf7ea512330f35d0f2ede0c7c0c085c7cf4 Mon Sep 17 00:00:00 2001 From: Perttu Ahola Date: Wed, 12 Oct 2011 13:53:38 +0300 Subject: Header file tweaking; mainly for speed --- src/utility.cpp | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/utility.cpp') 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 -- cgit v1.2.3