diff options
Diffstat (limited to 'indra/llcommon/lltimer.cpp')
-rw-r--r-- | indra/llcommon/lltimer.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/indra/llcommon/lltimer.cpp b/indra/llcommon/lltimer.cpp index 993574b528..f335458f24 100644 --- a/indra/llcommon/lltimer.cpp +++ b/indra/llcommon/lltimer.cpp @@ -492,7 +492,7 @@ void secondsToTimecodeString(F32 current_time, char *tcstring) std::list<LLEventTimer*> LLEventTimer::sActiveList; LLEventTimer::LLEventTimer(F32 period) -: mTimer() +: mEventTimer() { mPeriod = period; sActiveList.push_back(this); @@ -508,9 +508,9 @@ void LLEventTimer::updateClass() for (std::list<LLEventTimer*>::iterator iter = sActiveList.begin(); iter != sActiveList.end(); ) { LLEventTimer* timer = *iter++; - F32 et = timer->mTimer.getElapsedTimeF32(); + F32 et = timer->mEventTimer.getElapsedTimeF32(); if (et > timer->mPeriod) { - timer->mTimer.reset(); + timer->mEventTimer.reset(); timer->tick(); } } |