diff options
author | leak <leakzx@googlemail.com> | 2011-01-26 01:03:35 +0100 |
---|---|---|
committer | leak <leakzx@googlemail.com> | 2011-01-26 01:03:35 +0100 |
commit | 137b079eea2c8bff3bfa33099c016502beeb868a (patch) | |
tree | 876ce4404a299c6ed7cccf79fc04d8ad4b29b385 /src/server/game/DungeonFinding/LFGMgr.cpp | |
parent | 57f85ab7da3c1759a0cef3bd0497253c54bf1218 (diff) |
Core: Generic cleanup (tab2spaces/trailing whitespace removal)
Diffstat (limited to 'src/server/game/DungeonFinding/LFGMgr.cpp')
-rwxr-xr-x | src/server/game/DungeonFinding/LFGMgr.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/server/game/DungeonFinding/LFGMgr.cpp b/src/server/game/DungeonFinding/LFGMgr.cpp index 45bc4b92e4e..97b31a37cf1 100755 --- a/src/server/game/DungeonFinding/LFGMgr.cpp +++ b/src/server/game/DungeonFinding/LFGMgr.cpp @@ -216,7 +216,7 @@ void LFGMgr::Update(uint32 diff) if (Player* plr = sObjectMgr->GetPlayer(guid)) { plr->GetSession()->SendLfgRoleCheckUpdate(roleCheck); - + if (itRoles->first == roleCheck->leader) plr->GetSession()->SendLfgJoinResult(LfgJoinResultData(LFG_JOIN_FAILED, LFG_ROLECHECK_MISSING_ROLE)); } @@ -1794,7 +1794,7 @@ void LFGMgr::TeleportPlayer(Player* plr, bool out, bool fromOpcode /*= false*/) /** Give completion reward to player - @param[in] dungeonId Id of the dungeon finished + @param[in] dungeonId Id of the dungeon finished @param[in] plr Player to reward */ void LFGMgr::RewardDungeonDoneFor(const uint32 dungeonId, Player* player) @@ -1808,12 +1808,12 @@ void LFGMgr::RewardDungeonDoneFor(const uint32 dungeonId, Player* player) uint64 guid = player->GetGUID(); uint64 gguid = player->GetGroup()->GetGUID(); - uint32 gDungeonId = GetDungeon(gguid); + uint32 gDungeonId = GetDungeon(gguid); if (gDungeonId != dungeonId) { sLog->outDebug("LFGMgr::RewardDungeonDoneFor: [" UI64FMTD "] Finished dungeon %u but group queued for %u. Ignoring", guid, dungeonId, gDungeonId); return; - } + } if (GetState(guid) == LFG_STATE_FINISHED_DUNGEON) { |