mirror of
https://github.com/minetest/minetest.git
synced 2025-02-17 02:22:26 +01:00
Use unordered_map instead of map for MapSectors
This commit is contained in:
@ -102,7 +102,7 @@ MapSector * Map::getSectorNoGenerateNoLock(v2s16 p)
|
||||
return sector;
|
||||
}
|
||||
|
||||
std::map<v2s16, MapSector*>::iterator n = m_sectors.find(p);
|
||||
auto n = m_sectors.find(p);
|
||||
|
||||
if (n == m_sectors.end())
|
||||
return NULL;
|
||||
|
Reference in New Issue
Block a user