Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 2559


Ignore:
Timestamp:
Dec 31, 2008, 12:29:15 PM (16 years ago)
Author:
scheusso
Message:

final adjustment to statistics

File:
1 edited

Legend:

Unmodified
Added
Removed
  • code/branches/presentation/src/orxonox/gamestates/GSRoot.cc

    r2558 r2559  
    226226        statisticsTickTimes_.push_back(tickInfo);
    227227        assert(statisticsTickTimes_.back().tickLength==tickInfo.tickLength);
     228        this->periodTickTime_ += tickInfo.tickLength;
    228229
    229230        // Ticks GSGraphics or GSDedicated
    230231        this->tickChild(time);
    231232
    232         // Note: tickInfo.tickLength is modified by GSGraphics or GSDedicated!
    233         this->periodTickTime_ += tickInfo.tickLength;
    234233        if (timeAfterTick > statisticsStartTime_ + statisticsRefreshCycle_)
    235234        {
Note: See TracChangeset for help on using the changeset viewer.