From b5fead8f53a555b62c9de2dc23b0f2ce9a136e8e Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Fri, 18 Mar 2016 20:34:04 +0300 Subject: Add custom rand function implimentation, based on precreated random sequence. --- src/dyetool/client.cpp | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/dyetool/client.cpp') 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); -- cgit v1.2.3-70-g09d2