Remove working things

This commit is contained in:
blockmaster2000 2016-11-15 17:07:19 +01:00 committed by darkrose
parent 8856e1a25d
commit 135679dde4
2 changed files with 0 additions and 7 deletions

View File

@ -34,10 +34,6 @@
#include "sound.h" #include "sound.h"
#ifndef SERVER #ifndef SERVER
float roundf(float x)
{
return (float)((x < 0) ? (ceil((x) - 0.5)) : (floor((x) + 0.5)));
}
static const v3s16 corners[8] = { static const v3s16 corners[8] = {
v3s16(-1, 1, 1), v3s16(-1, 1, 1),
v3s16( 1, 1, 1), v3s16( 1, 1, 1),

View File

@ -292,11 +292,8 @@ struct TileSpec
animation_frame_count(0), animation_frame_count(0),
animation_frame_length_ms(0) animation_frame_length_ms(0)
{ {
#ifndef SERVER
// init material only on clients
video::SMaterial m; video::SMaterial m;
m_material = m; m_material = m;
#endif
} }
bool operator==(TileSpec &other) bool operator==(TileSpec &other)