mirror of
git://xwords.git.sourceforge.net/gitroot/xwords/xwords
synced 2024-12-27 09:58:45 +01:00
add random seed in win32 case
This commit is contained in:
parent
efe72f242e
commit
21c28dfcd9
1 changed files with 5 additions and 0 deletions
|
@ -938,6 +938,11 @@ InitInstance(HINSTANCE hInstance, int nCmdShow)
|
|||
rc.bottom-rc.top, FALSE);
|
||||
}
|
||||
#endif
|
||||
|
||||
#ifdef TARGET_OS_WIN32
|
||||
srand( time(NULL) );
|
||||
#endif
|
||||
|
||||
ceInitUtilFuncs( globals );
|
||||
|
||||
/* choose one. If none found it's an error. */
|
||||
|
|
Loading…
Reference in a new issue