Seed rand only at one place.

This commit is contained in:
sledgehammer999
2013-06-30 15:32:45 +03:00
parent 9913484f68
commit be5a1ae272
3 changed files with 3 additions and 8 deletions

View File

@@ -225,6 +225,7 @@ int main(int argc, char *argv[]) {
return 0;
}
srand(time(0));
Preferences pref;
#ifndef DISABLE_GUI
bool no_splash = false;