summaryrefslogtreecommitdiff
path: root/src/unix.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/unix.cpp')
-rw-r--r--src/unix.cpp3
1 files changed, 1 insertions, 2 deletions
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);