mirror of
https://github.com/luanti-org/luanti.git
synced 2025-07-22 17:18:39 +00:00
server builds now!
This commit is contained in:
parent
364c961200
commit
1c776c3df8
7 changed files with 70 additions and 11 deletions
|
@ -19,7 +19,6 @@ with this program; if not, write to the Free Software Foundation, Inc.,
|
|||
|
||||
#include "mineral.h"
|
||||
|
||||
#ifndef SERVER
|
||||
|
||||
const char *mineral_filenames[MINERAL_COUNT] =
|
||||
{
|
||||
|
@ -30,7 +29,7 @@ const char *mineral_filenames[MINERAL_COUNT] =
|
|||
|
||||
textureid_t mineral_textures[MINERAL_COUNT] = {0};
|
||||
|
||||
void init_mineral(IrrlichtWrapper *irrlicht)
|
||||
void init_mineral(IIrrlichtWrapper *irrlicht)
|
||||
{
|
||||
for(u32 i=0; i<MINERAL_COUNT; i++)
|
||||
{
|
||||
|
@ -48,6 +47,5 @@ textureid_t mineral_block_texture(u8 mineral)
|
|||
return mineral_textures[mineral];
|
||||
}
|
||||
|
||||
#endif
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue