mirror of
https://github.com/glest/glest-source.git
synced 2025-08-16 05:13:59 +02:00
- cast to unsigned int for all calls to srand
This commit is contained in:
@@ -440,7 +440,6 @@ const string Properties::getRandomKey(const bool realrandom) const{
|
||||
int max=getPropertyCount();
|
||||
int randomIndex=-1;
|
||||
if(realrandom == true){
|
||||
//srand((unsigned int)time(NULL));
|
||||
Chrono seed(true);
|
||||
srand((unsigned int)seed.getCurTicks());
|
||||
|
||||
|
Reference in New Issue
Block a user