mirror of
https://github.com/TrinityCore/TrinityCore.git
synced 2026-01-24 10:56:38 +01:00
Revert "Core: Fix the SFMT randgen-initbug" - alignment-fix is now properly handled within the respective code
This reverts commit 28310f0938.
This commit is contained in:
@@ -31,11 +31,6 @@
|
||||
typedef ACE_TSS<SFMTRand> SFMTRandTSS;
|
||||
static SFMTRandTSS sfmtRand;
|
||||
|
||||
void init_sfmt()
|
||||
{
|
||||
sfmtRand->RandomInit((int)(time(0)));
|
||||
}
|
||||
|
||||
int32 irand(int32 min, int32 max)
|
||||
{
|
||||
return int32(sfmtRand->IRandom(min, max));
|
||||
|
||||
@@ -24,11 +24,6 @@
|
||||
#include <string>
|
||||
#include <vector>
|
||||
|
||||
#ifdef USE_SFMT_FOR_RNG
|
||||
// Initialize SFMT before first use, if enabled.
|
||||
void init_sfmt();
|
||||
#endif
|
||||
|
||||
// Searcher for map of structs
|
||||
template<typename T, class S> struct Finder
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user