Fix variable name

This commit is contained in:
disinvite 2026-01-26 21:23:45 -05:00
parent 133a053ab4
commit 00584f631d

View File

@ -81,12 +81,12 @@ void LegoTestTimer::Tick(LegoS32 p_timer)
} }
m_lastTime[p_timer] = time; m_lastTime[p_timer] = time;
LegoS32 local_14 = dtim / m_interval; LegoS32 binIndex = dtim / m_interval;
if (local_14 >= m_numBins) { if (binIndex >= m_numBins) {
local_14 = m_numBins - 1; binIndex = m_numBins - 1;
} }
m_timers[p_timer][local_14]++; m_timers[p_timer][binIndex]++;
m_totalTime[p_timer] += dtim; m_totalTime[p_timer] += dtim;
} }
} }