From 135679dde440c37ffec2674adcb83b9752159a75 Mon Sep 17 00:00:00 2001 From: blockmaster2000 Date: Tue, 15 Nov 2016 17:07:19 +0100 Subject: [PATCH] Remove working things --- src/content_mapblock.cpp | 4 ---- src/tile.h | 3 --- 2 files changed, 7 deletions(-) diff --git a/src/content_mapblock.cpp b/src/content_mapblock.cpp index 44a48ce..1317150 100644 --- a/src/content_mapblock.cpp +++ b/src/content_mapblock.cpp @@ -34,10 +34,6 @@ #include "sound.h" #ifndef SERVER -float roundf(float x) -{ - return (float)((x < 0) ? (ceil((x) - 0.5)) : (floor((x) + 0.5))); -} static const v3s16 corners[8] = { v3s16(-1, 1, 1), v3s16( 1, 1, 1), diff --git a/src/tile.h b/src/tile.h index c4611b3..064609d 100644 --- a/src/tile.h +++ b/src/tile.h @@ -292,11 +292,8 @@ struct TileSpec animation_frame_count(0), animation_frame_length_ms(0) { -#ifndef SERVER - // init material only on clients video::SMaterial m; m_material = m; -#endif } bool operator==(TileSpec &other)