Migrated random generators to std::random
This commit is contained in:
@@ -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;
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user