mirror of
https://github.com/TrinityCore/TrinityCore.git
synced 2026-01-23 10:26:28 +01:00
Core/Entities: Changed a few lowguid uses to ObjectGuid::LowType
This commit is contained in:
@@ -2702,10 +2702,10 @@ bool Guild::AddMember(ObjectGuid guid, uint8 rankId)
|
||||
// Player cannot be in guild
|
||||
if (player)
|
||||
{
|
||||
if (player->GetGuildId() != 0)
|
||||
if (player->GetGuildId())
|
||||
return false;
|
||||
}
|
||||
else if (Player::GetGuildIdFromDB(guid) != 0)
|
||||
else if (Player::GetGuildIdFromDB(guid))
|
||||
return false;
|
||||
|
||||
// Remove all player signs from another petitions
|
||||
|
||||
Reference in New Issue
Block a user