Add spaces after commas
This commit is contained in:
@@ -785,7 +785,7 @@ bool LFGMgr::CheckCompatibility(LfgGuidList check, LfgProposal*& pProposal)
|
||||
uint64 frontGuid = check.front();
|
||||
check.pop_front();
|
||||
|
||||
// Check all-but-new compatibilities (New,A,B,C,D) --> check(A,B,C,D)
|
||||
// Check all-but-new compatibilities (New, A, B, C, D) --> check(A, B, C, D)
|
||||
if (!CheckCompatibility(check, pProposal)) // Group not compatible
|
||||
{
|
||||
sLog->outDebug(LOG_FILTER_LFG, "LFGMgr::CheckCompatibility: (%s) not compatibles (%s not compatibles)", strGuids.c_str(), ConcatenateGuids(check).c_str());
|
||||
@@ -1140,7 +1140,7 @@ LfgAnswer LFGMgr::GetCompatibles(std::string key)
|
||||
/**
|
||||
Given a list of dungeons remove the dungeons players have restrictions.
|
||||
|
||||
@param[in,out] dungeons Dungeons to check restrictions
|
||||
@param[in, out] dungeons Dungeons to check restrictions
|
||||
@param[in] players Set of players to check their dungeon restrictions
|
||||
@param[out] lockMap Map of players Lock status info of given dungeons (Empty if dungeons is not empty)
|
||||
*/
|
||||
@@ -1795,8 +1795,8 @@ void LFGMgr::RewardDungeonDoneFor(const uint32 dungeonId, Player* player)
|
||||
return;
|
||||
|
||||
// if we can take the quest, means that we haven't done this kind of "run", IE: First Heroic Random of Day.
|
||||
if (player->CanRewardQuest(qReward,false))
|
||||
player->RewardQuest(qReward,0,NULL,false);
|
||||
if (player->CanRewardQuest(qReward, false))
|
||||
player->RewardQuest(qReward, 0, NULL, false);
|
||||
else
|
||||
{
|
||||
index = 1;
|
||||
@@ -1804,11 +1804,11 @@ void LFGMgr::RewardDungeonDoneFor(const uint32 dungeonId, Player* player)
|
||||
if (!qReward)
|
||||
return;
|
||||
// we give reward without informing client (retail does this)
|
||||
player->RewardQuest(qReward,0,NULL,false);
|
||||
player->RewardQuest(qReward, 0, NULL, false);
|
||||
}
|
||||
|
||||
// Give rewards
|
||||
sLog->outDebug(LOG_FILTER_LFG, "LFGMgr::RewardDungeonDoneFor: [" UI64FMTD "] done dungeon %u,%s previously done.", player->GetGUID(), GetDungeon(gguid), index > 0 ? " " : " not");
|
||||
sLog->outDebug(LOG_FILTER_LFG, "LFGMgr::RewardDungeonDoneFor: [" UI64FMTD "] done dungeon %u, %s previously done.", player->GetGUID(), GetDungeon(gguid), index > 0 ? " " : " not");
|
||||
player->GetSession()->SendLfgPlayerReward(dungeon->Entry(), GetDungeon(gguid, false), index, reward, qReward);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user