add random seed in win32 case

This commit is contained in:
ehouse 2005-11-27 23:11:05 +00:00
parent efe72f242e
commit 21c28dfcd9

View file

@ -938,6 +938,11 @@ InitInstance(HINSTANCE hInstance, int nCmdShow)
rc.bottom-rc.top, FALSE); rc.bottom-rc.top, FALSE);
} }
#endif #endif
#ifdef TARGET_OS_WIN32
srand( time(NULL) );
#endif
ceInitUtilFuncs( globals ); ceInitUtilFuncs( globals );
/* choose one. If none found it's an error. */ /* choose one. If none found it's an error. */