Fixed several bugs, including one where dialogs were not redrawn properly and one where random numbers were not in the expected range.
git-svn-id: http://openexile.googlecode.com/svn/trunk@36 4ebdad44-0ea0-11de-aab3-ff745001d230
This commit is contained in:
@@ -186,9 +186,10 @@ void Initialize(void)
|
||||
// will always be different. Don’t for each call of Random, or the sequence
|
||||
// will no longer be random. Only needed once, here in the init.
|
||||
//
|
||||
unsigned long time;
|
||||
GetDateTime(&time);
|
||||
SetQDGlobalsRandomSeed(time);
|
||||
//unsigned long time;
|
||||
//GetDateTime(&time);
|
||||
//SetQDGlobalsRandomSeed(time);
|
||||
srand(time(NULL));
|
||||
|
||||
//
|
||||
// Make a new window for drawing in, and it must be a color window.
|
||||
|
Reference in New Issue
Block a user