summaryrefslogtreecommitdiff
path: root/src/mineral.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mineral.cpp')
-rw-r--r--src/mineral.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/mineral.cpp b/src/mineral.cpp
index 506f5b75c..4f658db48 100644
--- a/src/mineral.cpp
+++ b/src/mineral.cpp
@@ -19,6 +19,8 @@ with this program; if not, write to the Free Software Foundation, Inc.,
#include "mineral.h"
+#ifndef SERVER
+
const char *mineral_filenames[MINERAL_COUNT] =
{
NULL,
@@ -46,4 +48,6 @@ textureid_t mineral_block_texture(u8 mineral)
return mineral_textures[mineral];
}
+#endif
+