Changeset 3301 for code/trunk/src/orxonox/tools/Timer.cc
- Timestamp:
- Jul 18, 2009, 4:03:59 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/trunk/src/orxonox/tools/Timer.cc
r3196 r3301 136 136 { 137 137 // If active: Decrease the timer by the duration of the last frame 138 this->time_ -= (long long)(time.getDeltaTimeMicroseconds() * this->getTimeFactor());138 this->time_ -= static_cast<long long>(time.getDeltaTimeMicroseconds() * this->getTimeFactor()); 139 139 140 140 if (this->time_ <= 0)
Note: See TracChangeset
for help on using the changeset viewer.