Core/Entities: Use ObjectGuid class in game project
This commit is contained in:
1 parent
ce67a097bf
commit
a0e50ea35f
256 files changed
+3334
-3833
No files matched your search
@@ -79,7 +79,7 @@ std::string GuildMgr::GetGuildNameById(uint32 guildId) const
|
||||
return "";
|
||||
}
|
||||
|
||||
Guild* GuildMgr::GetGuildByLeader(uint64 guid) const
|
||||
Guild* GuildMgr::GetGuildByLeader(ObjectGuid guid) const
|
||||
{
|
||||
for (GuildContainer::const_iterator itr = GuildStore.begin(); itr != GuildStore.end(); ++itr)
|
||||
if (itr->second->GetLeaderGUID() == guid)
|
||||
|
||||
Reference in new issue
Block a user