From: Perttu Ahola Date: Thu, 27 Jan 2011 23:56:58 +0000 (+0200) Subject: server might build now X-Git-Url: http://81.2.79.47:8989/gitweb/?a=commitdiff_plain;h=364c9612008e5c4d1738156764cad650d514883b;p=zefram%2Fminetest%2Fminetest_engine.git server might build now --- diff --git a/src/mineral.cpp b/src/mineral.cpp index 506f5b75..4f658db4 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 + diff --git a/src/mineral.h b/src/mineral.h index aa0902e1..6c10c225 100644 --- a/src/mineral.h +++ b/src/mineral.h @@ -31,8 +31,10 @@ with this program; if not, write to the Free Software Foundation, Inc., type param. */ +#ifndef SERVER // Caches textures void init_mineral(IrrlichtWrapper *irrlicht); +#endif #define MINERAL_NONE 0 #define MINERAL_COAL 1