summaryrefslogtreecommitdiff
path: root/src/win32.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/win32.cpp')
-rw-r--r--src/win32.cpp4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/win32.cpp b/src/win32.cpp
index c0479f64a..e0298a0f8 100644
--- a/src/win32.cpp
+++ b/src/win32.cpp
@@ -971,9 +971,7 @@ int APIENTRY WinMain(HINSTANCE hInstance, HINSTANCE hPrevInstance, LPSTR lpCmdLi
#endif
/* setup random seed to something quite random */
- _random_seeds[1][0] = _random_seeds[0][0] = GetTickCount();
- _random_seeds[1][1] = _random_seeds[0][1] = _random_seeds[0][0] * 0x1234567;
- SeedMT(_random_seeds[0][0]);
+ SetRandomSeed(GetTickCount());
argc = ParseCommandLine(cmdline, argv, lengthof(argv));