mirror of
https://github.com/isledecomp/isle.git
synced 2026-02-27 22:47:37 +00:00
Fix variable name
This commit is contained in:
parent
133a053ab4
commit
00584f631d
@ -81,12 +81,12 @@ void LegoTestTimer::Tick(LegoS32 p_timer)
|
||||
}
|
||||
|
||||
m_lastTime[p_timer] = time;
|
||||
LegoS32 local_14 = dtim / m_interval;
|
||||
if (local_14 >= m_numBins) {
|
||||
local_14 = m_numBins - 1;
|
||||
LegoS32 binIndex = dtim / m_interval;
|
||||
if (binIndex >= m_numBins) {
|
||||
binIndex = m_numBins - 1;
|
||||
}
|
||||
|
||||
m_timers[p_timer][local_14]++;
|
||||
m_timers[p_timer][binIndex]++;
|
||||
m_totalTime[p_timer] += dtim;
|
||||
}
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user