Initialize randk() and startup

This commit is contained in:
Yamagi Burmeister 2012-06-04 16:24:37 +02:00
parent 7b01ac3452
commit 2629f908ae

View file

@ -666,6 +666,9 @@ WinMain(HINSTANCE hInstance, HINSTANCE hPrevInstance,
/* Make the current instance global */ /* Make the current instance global */
global_hInstance = hInstance; global_hInstance = hInstance;
/* Seed PRNG */
randk_seed();
/* Parse the command line arguments */ /* Parse the command line arguments */
ParseCommandLine(lpCmdLine); ParseCommandLine(lpCmdLine);