mirror of
https://github.com/luanti-org/luanti.git
synced 2025-06-27 16:36:03 +00:00
Various random code cleanups
This commit is contained in:
parent
358658fa34
commit
7892541383
73 changed files with 216 additions and 285 deletions
|
@ -375,8 +375,7 @@ bool EmergeManager::pushBlockEmergeData(
|
|||
}
|
||||
}
|
||||
|
||||
std::pair<std::map<v3s16, BlockEmergeData>::iterator, bool> findres;
|
||||
findres = m_blocks_enqueued.insert(std::make_pair(pos, BlockEmergeData()));
|
||||
auto findres = m_blocks_enqueued.insert(std::make_pair(pos, BlockEmergeData()));
|
||||
|
||||
BlockEmergeData &bedata = findres.first->second;
|
||||
*entry_already_exists = !findres.second;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue