diff options
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); |