summaryrefslogtreecommitdiff
path: root/src/dyetool/client.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2016-03-18 20:34:04 +0300
committerAndrei Karas <akaras@inbox.ru>2016-03-18 20:41:06 +0300
commitb5fead8f53a555b62c9de2dc23b0f2ce9a136e8e (patch)
treeb4b3be6ca5dec68b68cabf83dd21626b70707c08 /src/dyetool/client.cpp
parent5b293feb5367ccabd3edf49783511c895807876b (diff)
downloadplus-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/dyetool/client.cpp')
-rw-r--r--src/dyetool/client.cpp3
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);