mirror of
https://github.com/glest/glest-source.git
synced 2025-09-26 07:28:59 +02:00
- cleaned up some warnings from VC++ compiler
This commit is contained in:
@@ -427,7 +427,7 @@ const string Properties::getRandomKey(const bool realrandom) const{
|
||||
if(realrandom == true){
|
||||
//srand((unsigned int)time(NULL));
|
||||
Chrono seed(true);
|
||||
srand(seed.getCurTicks());
|
||||
srand((unsigned int)seed.getCurTicks());
|
||||
|
||||
randomIndex=rand()%max;
|
||||
}
|
||||
|
Reference in New Issue
Block a user