summaryrefslogtreecommitdiffstats
path: root/src/ClientHandle.cpp
diff options
context:
space:
mode:
authorTiger Wang <ziwei.tiger@hotmail.co.uk>2014-10-19 15:10:18 +0200
committerTiger Wang <ziwei.tiger@hotmail.co.uk>2014-10-19 15:10:18 +0200
commitaa19a3afb0b94e8b5fe055eeb38b1fb2ee1a67b0 (patch)
treef9b31400ccb64fb6c30af41952ba854cf246ff54 /src/ClientHandle.cpp
parentMerge branch 'master' of https://github.com/mc-server/MCServer (diff)
downloadcuberite-aa19a3afb0b94e8b5fe055eeb38b1fb2ee1a67b0.tar
cuberite-aa19a3afb0b94e8b5fe055eeb38b1fb2ee1a67b0.tar.gz
cuberite-aa19a3afb0b94e8b5fe055eeb38b1fb2ee1a67b0.tar.bz2
cuberite-aa19a3afb0b94e8b5fe055eeb38b1fb2ee1a67b0.tar.lz
cuberite-aa19a3afb0b94e8b5fe055eeb38b1fb2ee1a67b0.tar.xz
cuberite-aa19a3afb0b94e8b5fe055eeb38b1fb2ee1a67b0.tar.zst
cuberite-aa19a3afb0b94e8b5fe055eeb38b1fb2ee1a67b0.zip
Diffstat (limited to 'src/ClientHandle.cpp')
-rw-r--r--src/ClientHandle.cpp12
1 files changed, 0 insertions, 12 deletions
diff --git a/src/ClientHandle.cpp b/src/ClientHandle.cpp
index f15d845ef..7d0f2de06 100644
--- a/src/ClientHandle.cpp
+++ b/src/ClientHandle.cpp
@@ -25,8 +25,6 @@
#include "Root.h"
#include "Protocol/Authenticator.h"
-#include "MersenneTwister.h"
-
#include "Protocol/ProtocolRecognizer.h"
#include "CompositeChat.h"
#include "Items/ItemSword.h"
@@ -45,16 +43,6 @@
-#define RECI_RAND_MAX (1.f/RAND_MAX)
-inline int fRadRand(MTRand & r1, int a_BlockCoord)
-{
- return a_BlockCoord * 32 + (int)(16 * ((float)r1.rand() * RECI_RAND_MAX) * 16 - 8);
-}
-
-
-
-
-
int cClientHandle::s_ClientCount = 0;