mirror of
https://github.com/luanti-org/luanti.git
synced 2025-06-27 16:36:03 +00:00
Use unordered_map instead of map for MapSectors
This commit is contained in:
parent
367a2d4b29
commit
e16a470d59
2 changed files with 2 additions and 2 deletions
|
@ -266,7 +266,7 @@ protected:
|
|||
|
||||
std::set<MapEventReceiver*> m_event_receivers;
|
||||
|
||||
std::map<v2s16, MapSector*> m_sectors;
|
||||
std::unordered_map<v2s16, MapSector*> m_sectors;
|
||||
|
||||
// Be sure to set this to NULL when the cached sector is deleted
|
||||
MapSector *m_sector_cache = nullptr;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue