mirror of
https://github.com/yquake2/yquake2remaster.git
synced 2024-11-23 04:52:07 +00:00
Initialize randk() and startup
This commit is contained in:
parent
7b01ac3452
commit
2629f908ae
1 changed files with 3 additions and 0 deletions
|
@ -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);
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue