mirror of
https://github.com/glest/glest-source.git
synced 2025-10-01 01:46:42 +02:00
- cleaned up some warnings from VC++ compiler
This commit is contained in:
@@ -243,7 +243,7 @@ Intro::Intro(Program *program):
|
||||
int index = rand() % models.size();
|
||||
if(usedIndex.find(index) != usedIndex.end()) {
|
||||
failedLookups++;
|
||||
seed = time(NULL) / failedLookups;
|
||||
seed = (time(NULL) / failedLookups);
|
||||
srand(seed.getCurTicks());
|
||||
continue;
|
||||
}
|
||||
|
Reference in New Issue
Block a user