summaryrefslogtreecommitdiff
path: root/win32.c
diff options
context:
space:
mode:
Diffstat (limited to 'win32.c')
-rw-r--r--win32.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/win32.c b/win32.c
index 65638e808..45f009332 100644
--- a/win32.c
+++ b/win32.c
@@ -1951,12 +1951,12 @@ int APIENTRY WinMain(HINSTANCE hInstance,HINSTANCE hPrevInstance,LPTSTR lpCmdLin
#if defined(_MSC_VER)
{
uint64 seed = rdtsc();
- _random_seed_1 = ((uint32*)&seed)[0];
- _random_seed_2 = ((uint32*)&seed)[1];
+ _random_seeds[0][0] = ((uint32*)&seed)[0];
+ _random_seeds[0][1] = ((uint32*)&seed)[1];
}
#else
- _random_seed_1 = GetTickCount();
- _random_seed_2 = _random_seed_1 * 0x1234567;
+ _random_seeds[0][0] = GetTickCount();
+ _random_seeds[0][1] = _random_seeds[0][0] * 0x1234567;
#endif
argc = ParseCommandLine(GetCommandLine(), argv, lengthof(argv));