Core/ObjectMgr: Use a map rather than a vector for indexing guilds by their guid (might contain large gaps).

This commit is contained in:
leak
2011-03-11 00:18:49 +01:00
parent 0aa015d897
commit 4f892bbba1
2 changed files with 16 additions and 30 deletions
+1 -1
View File
@@ -594,7 +594,7 @@ class ObjectMgr
typedef std::set<Group *> GroupSet;
typedef std::vector<Group *> GroupStorage;
typedef std::vector <Guild *> GuildMap;
typedef UNORDERED_MAP<uint32, Guild*> GuildMap;
typedef UNORDERED_MAP<uint32, ArenaTeam*> ArenaTeamMap;