diff options
author | jackpoz <giacomopoz@gmail.com> | 2015-03-09 21:30:36 +0100 |
---|---|---|
committer | Nayd <dnpd.dd@gmail.com> | 2015-03-18 00:34:51 +0000 |
commit | 38c23495b38b786c648ec346b707d049e7a91071 (patch) | |
tree | 32041ceb18d98d98f2bb6bc699396216f130cd27 /src/server/game/DungeonFinding/LFG.cpp | |
parent | 812e117b30bbdb86d38cc7ab517196ecf8cc5c7f (diff) |
Core/Dungeon Finder: Fix Vote Kick breaking LFG queue
Fix Vote Kick started with party in queue breaking the whole LFG queue. The status of Vote Kick is now storing in a bool variable in LfgGroupData, separated from LfgState of the group/members.
If a Vote Kick started with party in queue, the members were not removed from queue correctly and would cause LFG matching system to match these "broken" players but not allowing to start a dungeon.
Closes #10191
(cherry picked from commit 22403121fe9c762c82dc32913aeba46a7e76a004)
Diffstat (limited to 'src/server/game/DungeonFinding/LFG.cpp')
-rw-r--r-- | src/server/game/DungeonFinding/LFG.cpp | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/src/server/game/DungeonFinding/LFG.cpp b/src/server/game/DungeonFinding/LFG.cpp index ab06eff7148..8ec638128d8 100644 --- a/src/server/game/DungeonFinding/LFG.cpp +++ b/src/server/game/DungeonFinding/LFG.cpp @@ -91,9 +91,6 @@ std::string GetStateString(LfgState state) case LFG_STATE_DUNGEON: entry = LANG_LFG_STATE_DUNGEON; break; - case LFG_STATE_BOOT: - entry = LANG_LFG_STATE_BOOT; - break; case LFG_STATE_FINISHED_DUNGEON: entry = LANG_LFG_STATE_FINISHED_DUNGEON; break; |