diff options
author | Tiger Wang <ziwei.tiger@hotmail.co.uk> | 2014-10-19 15:10:18 +0200 |
---|---|---|
committer | Tiger Wang <ziwei.tiger@hotmail.co.uk> | 2014-10-19 15:10:18 +0200 |
commit | aa19a3afb0b94e8b5fe055eeb38b1fb2ee1a67b0 (patch) | |
tree | f9b31400ccb64fb6c30af41952ba854cf246ff54 /src/ClientHandle.cpp | |
parent | Merge branch 'master' of https://github.com/mc-server/MCServer (diff) | |
download | cuberite-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.cpp | 12 |
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; |