aboutsummaryrefslogtreecommitdiff
path: root/src/server/game/DungeonFinding/LFG.h
diff options
context:
space:
mode:
authorjackpoz <giacomopoz@gmail.com>2015-03-09 21:30:36 +0100
committerNayd <dnpd.dd@gmail.com>2015-03-18 00:34:51 +0000
commit38c23495b38b786c648ec346b707d049e7a91071 (patch)
tree32041ceb18d98d98f2bb6bc699396216f130cd27 /src/server/game/DungeonFinding/LFG.h
parent812e117b30bbdb86d38cc7ab517196ecf8cc5c7f (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.h')
-rw-r--r--src/server/game/DungeonFinding/LFG.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/server/game/DungeonFinding/LFG.h b/src/server/game/DungeonFinding/LFG.h
index 0ee9e7886d5..680781cc9d1 100644
--- a/src/server/game/DungeonFinding/LFG.h
+++ b/src/server/game/DungeonFinding/LFG.h
@@ -68,8 +68,8 @@ enum LfgState
LFG_STATE_ROLECHECK, // Rolecheck active
LFG_STATE_QUEUED, // Queued
LFG_STATE_PROPOSAL, // Proposal active
- LFG_STATE_BOOT, // Vote kick active
- LFG_STATE_DUNGEON, // In LFG Group, in a Dungeon
+ //LFG_STATE_BOOT, // Vote kick active
+ LFG_STATE_DUNGEON = 5, // In LFG Group, in a Dungeon
LFG_STATE_FINISHED_DUNGEON, // In LFG Group, in a finished Dungeon
LFG_STATE_RAIDBROWSER // Using Raid finder
};