- cleaned up some warnings from VC++ compiler

This commit is contained in:
Mark Vejvoda
2012-10-06 02:40:24 +00:00
parent c39da4cd69
commit 97ba1a27e2
10 changed files with 20 additions and 20 deletions

View File

@@ -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;
}