mirror of
https://github.com/luanti-org/luanti.git
synced 2025-07-22 17:18:39 +00:00
Various random code cleanups
This commit is contained in:
parent
358658fa34
commit
7892541383
73 changed files with 216 additions and 285 deletions
|
@ -117,7 +117,7 @@ std::vector<NodeTimer> NodeTimerList::step(float dtime)
|
|||
if (m_next_trigger_time == -1. || m_time < m_next_trigger_time) {
|
||||
return elapsed_timers;
|
||||
}
|
||||
std::multimap<double, NodeTimer>::iterator i = m_timers.begin();
|
||||
auto i = m_timers.begin();
|
||||
// Process timers
|
||||
for (; i != m_timers.end() && i->first <= m_time; ++i) {
|
||||
NodeTimer t = i->second;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue