Merge
--HG-- branch : trunk
This commit is contained in:
@@ -586,7 +586,7 @@ bool BattleGroundQueue::CheckPremadeMatch(BGQueueIdBasedOnLevel queue_id, uint32
|
||||
m_SelectionPools[BG_TEAM_ALLIANCE].AddGroup((*ali_group), MaxPlayersPerTeam);
|
||||
m_SelectionPools[BG_TEAM_HORDE].AddGroup((*horde_group), MaxPlayersPerTeam);
|
||||
//add groups/players from normal queue to size of bigger group
|
||||
uint32 maxPlayers = std::max(m_SelectionPools[BG_TEAM_ALLIANCE].GetPlayerCount(), m_SelectionPools[BG_TEAM_HORDE].GetPlayerCount());
|
||||
uint32 maxPlayers = std::min(m_SelectionPools[BG_TEAM_ALLIANCE].GetPlayerCount(), m_SelectionPools[BG_TEAM_HORDE].GetPlayerCount());
|
||||
GroupsQueueType::const_iterator itr;
|
||||
for(uint32 i = 0; i < BG_TEAMS_COUNT; i++)
|
||||
{
|
||||
|
||||
+4
-2
@@ -16694,10 +16694,12 @@ void Player::RemovePet(Pet* pet, PetSaveMode mode, bool returnreagent)
|
||||
pet = GetPet();
|
||||
|
||||
if(pet)
|
||||
{
|
||||
sLog.outDebug("RemovePet %u, %u, %u", pet->GetEntry(), mode, returnreagent);
|
||||
|
||||
if(pet->m_removed)
|
||||
return;
|
||||
if(pet->m_removed)
|
||||
return;
|
||||
}
|
||||
|
||||
if(returnreagent && (pet || m_temporaryUnsummonedPetNumber))
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user