diff options
author | Andrei Karas <akaras@inbox.ru> | 2016-03-18 20:34:04 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2016-03-18 20:41:06 +0300 |
commit | b5fead8f53a555b62c9de2dc23b0f2ce9a136e8e (patch) | |
tree | b4b3be6ca5dec68b68cabf83dd21626b70707c08 /src/client.cpp | |
parent | 5b293feb5367ccabd3edf49783511c895807876b (diff) | |
download | plus-b5fead8f53a555b62c9de2dc23b0f2ce9a136e8e.tar.gz plus-b5fead8f53a555b62c9de2dc23b0f2ce9a136e8e.tar.bz2 plus-b5fead8f53a555b62c9de2dc23b0f2ce9a136e8e.tar.xz plus-b5fead8f53a555b62c9de2dc23b0f2ce9a136e8e.zip |
Add custom rand function implimentation, based on precreated random sequence.
Diffstat (limited to 'src/client.cpp')
-rw-r--r-- | src/client.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/client.cpp b/src/client.cpp index 07b35b6f8..7a550d80a 100644 --- a/src/client.cpp +++ b/src/client.cpp @@ -131,6 +131,7 @@ #include "utils/fuzzer.h" #include "utils/gettext.h" #include "utils/gettexthelper.h" +#include "utils/mrand.h" #ifdef ANDROID #include "utils/paths.h" #endif @@ -243,6 +244,7 @@ void Client::testsInit() } else { + initRand(); logger = new Logger; Dirs::initLocalDataDir(); Dirs::initTempDir(); @@ -255,6 +257,8 @@ void Client::gameInit() { logger = new Logger; + initRand(); + // Load branding information if (!settings.options.brandingPath.empty()) branding.init(settings.options.brandingPath); |