mirror of
https://github.com/mod-playerbots/azerothcore-wotlk.git
synced 2026-02-15 16:26:08 +00:00
feat(Core/Time): Implement saparated manager for game time (#8630)
This commit is contained in:
@@ -16,8 +16,8 @@
|
||||
*/
|
||||
|
||||
#include "SFMTRand.h"
|
||||
#include "Timer.h"
|
||||
#include <array>
|
||||
#include <ctime>
|
||||
#include <functional>
|
||||
#include <random>
|
||||
|
||||
@@ -69,7 +69,7 @@ SFMTRand::SFMTRand()
|
||||
}
|
||||
else
|
||||
{
|
||||
sfmt_init_gen_rand(&_state, uint32(time(nullptr)));
|
||||
sfmt_init_gen_rand(&_state, uint32(GetEpochTime().count()));
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user