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/dyetool/client.cpp | |
parent | 5b293feb5367ccabd3edf49783511c895807876b (diff) | |
download | manaverse-b5fead8f53a555b62c9de2dc23b0f2ce9a136e8e.tar.gz manaverse-b5fead8f53a555b62c9de2dc23b0f2ce9a136e8e.tar.bz2 manaverse-b5fead8f53a555b62c9de2dc23b0f2ce9a136e8e.tar.xz manaverse-b5fead8f53a555b62c9de2dc23b0f2ce9a136e8e.zip |
Add custom rand function implimentation, based on precreated random sequence.
Diffstat (limited to 'src/dyetool/client.cpp')
-rw-r--r-- | src/dyetool/client.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/dyetool/client.cpp b/src/dyetool/client.cpp index 939239d72..30dccd228 100644 --- a/src/dyetool/client.cpp +++ b/src/dyetool/client.cpp @@ -56,6 +56,7 @@ #include "utils/fuzzer.h" #include "utils/gettext.h" #include "utils/gettexthelper.h" +#include "utils/mrand.h" #ifdef ANDROID #include "utils/paths.h" #endif @@ -136,6 +137,8 @@ void Client::gameInit() { logger = new Logger; + initRand(); + // Load branding information if (!settings.options.brandingPath.empty()) branding.init(settings.options.brandingPath); |