Core: Remove some warnings here and there
This commit is contained in:
@@ -125,7 +125,7 @@ bool ArenaTeam::AddMember(const uint64& playerGuid)
|
||||
}
|
||||
|
||||
// Check if player is already in a similar arena team
|
||||
if (player && player->GetArenaTeamId(GetSlot()) || Player::GetArenaTeamIdFromDB(playerGuid, GetType()) != 0)
|
||||
if ((player && player->GetArenaTeamId(GetSlot())) || Player::GetArenaTeamIdFromDB(playerGuid, GetType()) != 0)
|
||||
{
|
||||
sLog->outError("Arena: Player %s (guid: %u) already has an arena team of type %u", playerName.c_str(), GUID_LOPART(playerGuid), GetType());
|
||||
return false;
|
||||
|
||||
Reference in New Issue
Block a user