Core/Entities: Changed a few lowguid uses to ObjectGuid::LowType

This commit is contained in:
Shauren
2014-10-25 17:11:35 +02:00
parent 5eb9fe1ea8
commit 10fb948c40
16 changed files with 49 additions and 25 deletions

View File

@@ -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