missing parts
This commit is contained in:
1 parent
086c48586f
commit
b083a07dfa
4 files changed
+4
-9
No files matched your search
@@ -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();
|
||||
|
||||
Reference in new issue
Block a user