(svn r11488) -Codechange: Spilt the random functions out to seperate file
-Codechange: Make the mersenne twister more readable -Codechange: Unify the seeding process of random
This commit is contained in:
@@ -136,8 +136,7 @@ int CDECL main(int argc, char* argv[])
|
||||
}
|
||||
#endif
|
||||
|
||||
_random_seeds[1][1] = _random_seeds[1][0] = _random_seeds[0][1] = _random_seeds[0][0] = time(NULL);
|
||||
SeedMT(_random_seeds[0][1]);
|
||||
SetRandomSeed(time(NULL));
|
||||
|
||||
signal(SIGPIPE, SIG_IGN);
|
||||
|
||||
|
Reference in New Issue
Block a user