summaryrefslogtreecommitdiff
path: root/src/os2.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/os2.cpp')
-rw-r--r--src/os2.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/os2.cpp b/src/os2.cpp
index 7f2626587..7ffccf09a 100644
--- a/src/os2.cpp
+++ b/src/os2.cpp
@@ -163,7 +163,7 @@ void ShowOSErrorBox(const char *buf)
int CDECL main(int argc, char* argv[])
{
- _random_seeds[1][1] = _random_seeds[1][0] = _random_seeds[0][1] = _random_seeds[0][0] = time(NULL);
+ SetRandomSeed(time(NULL));
return ttd_main(argc, argv);
}