missing parts

This commit is contained in:
Aokromes committed 2017-02-04 02:36:43 +01:00
1 parent 086c48586f
commit b083a07dfa
4 files changed
+4 -9

No files matched your search

+1 -6
View File
@@ -7299,6 +7299,7 @@ void Player::SetInGuild(uint32 guildId)
ApplyModFlag(PLAYER_FLAGS, PLAYER_FLAGS_GUILD_LEVEL_ENABLED, guildId != 0 && sWorld->getBoolConfig(CONFIG_GUILD_LEVELING_ENABLED));
SetUInt16Value(OBJECT_FIELD_TYPE, 1, guildId != 0);
sWorld->UpdateCharacterGuildId(GetGUID(), guildId);
}
ObjectGuid::LowType Player::GetGuildIdFromCharacterInfo(ObjectGuid guid)
@@ -27279,12 +27280,6 @@ std::string Player::GetCoordsMapAreaAndZoneString() const
return str.str();
}
void Player::SetInGuild(uint32 guildId)
{
SetUInt32Value(PLAYER_GUILDID, guildId);
sWorld->UpdateCharacterGuildId(GetGUID(), guildId);
}
Guild* Player::GetGuild()
{
uint32 guildId = GetGuildId();