Changeset 3300 for code/trunk/src/core/Game.cc
- Timestamp:
- Jul 17, 2009, 11:53:35 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/trunk/src/core/Game.cc
r3280 r3300 287 287 assert(it != this->statisticsTickTimes_.end()); 288 288 int64_t lastTime = currentTime - this->configuration_->statisticsAvgLength_; 289 if ( (int64_t)it->tickTime< lastTime)289 if (static_cast<int64_t>(it->tickTime) < lastTime) 290 290 { 291 291 do … … 295 295 ++it; 296 296 assert(it != this->statisticsTickTimes_.end()); 297 } while ( (int64_t)it->tickTime< lastTime);297 } while (static_cast<int64_t>(it->tickTime) < lastTime); 298 298 this->statisticsTickTimes_.erase(this->statisticsTickTimes_.begin(), it); 299 299 }
Note: See TracChangeset
for help on using the changeset viewer.