From 83601671c7b6aca820b3d55ced8ba30d0c82b4b5 Mon Sep 17 00:00:00 2001 From: skidd13 Date: Wed, 21 Nov 2007 19:13:38 +0000 Subject: (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 --- src/unix.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'src/unix.cpp') diff --git a/src/unix.cpp b/src/unix.cpp index 3933352e6..aa9a361eb 100644 --- a/src/unix.cpp +++ b/src/unix.cpp @@ -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); -- cgit v1.2.3-54-g00ecf