Replace rand() by a true uniform distribution generator

This commit is contained in:
Chocobo1 2017-02-10 20:33:21 +08:00
parent c7d10dc091
commit 511796f74e
8 changed files with 109 additions and 6 deletions

View file

@ -259,7 +259,6 @@ int main(int argc, char *argv[])
&& isatty(fileno(stdout)))) return EXIT_FAILURE;
#endif
srand(time(0));
#ifdef DISABLE_GUI
if (params.shouldDaemonize) {
app.reset(); // Destroy current application