mirror of
https://github.com/edubart/otclient.git
synced 2025-11-03 12:16:23 +01:00
Fix the use of deprecated C++ functions (#1138)
This commit is contained in:
@@ -72,7 +72,7 @@ protected:
|
||||
|
||||
private:
|
||||
stdext::dynamic_storage<uint8> m_attribs;
|
||||
std::unordered_map<Position, CreatureTypePtr, PositionHasher> m_creatures;
|
||||
std::unordered_map<Position, CreatureTypePtr, Position::Hasher> m_creatures;
|
||||
friend class CreatureManager;
|
||||
};
|
||||
|
||||
@@ -137,7 +137,7 @@ protected:
|
||||
|
||||
private:
|
||||
std::vector<CreatureTypePtr> m_creatures;
|
||||
std::unordered_map<Position, SpawnPtr, PositionHasher> m_spawns;
|
||||
std::unordered_map<Position, SpawnPtr, Position::Hasher> m_spawns;
|
||||
stdext::boolean<false> m_loaded, m_spawnLoaded;
|
||||
CreatureTypePtr m_nullCreature;
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user