diff options
author | Spp <none@none> | 2010-08-14 02:08:00 +0200 |
---|---|---|
committer | Spp <none@none> | 2010-08-14 02:08:00 +0200 |
commit | 1d77667ff744b3a3e8764ced5069d4780622fec7 (patch) | |
tree | 0b6928369d29c6d8cb6c8b9075166a7df0c0d9ee | |
parent | e52886130fe4e77ccab9d008940f3ada59a68f3d (diff) |
Dungeon Finder: Fix a typo that made all people being removed from queue when someone didn't accept
--HG--
branch : trunk
-rw-r--r-- | src/server/game/DungeonFinding/LFGMgr.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/server/game/DungeonFinding/LFGMgr.cpp b/src/server/game/DungeonFinding/LFGMgr.cpp index 42901179bdd..fb92f9b067c 100644 --- a/src/server/game/DungeonFinding/LFGMgr.cpp +++ b/src/server/game/DungeonFinding/LFGMgr.cpp @@ -1107,7 +1107,7 @@ void LFGMgr::RemoveProposal(LfgProposalMap::iterator itProposal, LfgUpdateType t pProposal->state = LFG_PROPOSAL_FAILED; // Mark all people that didn't answered as no accept - if (LFG_UPDATETYPE_PROPOSAL_FAILED) + if (type == LFG_UPDATETYPE_PROPOSAL_FAILED) for (LfgProposalPlayerMap::const_iterator it = pProposal->players.begin(); it != pProposal->players.end(); ++it) if (it->second->accept < 1) it->second->accept = 0; |