aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSpp <none@none>2010-10-02 05:40:33 +0200
committerSpp <none@none>2010-10-02 05:40:33 +0200
commit0f09690c5c1d0c391df9faa6a702f3d892a452dc (patch)
treefe455d8bd2c8df109f9680edfc6a831851e3727d
parent91858c4ff89bb32a9bf3ceb1cb16ce544cfa1463 (diff)
Core/Dungeon Finder: Fix a typo in 7539ae56e9 that prevented individual players to join queue
Thanks to p.alexej@freenet.de for pointing the typo --HG-- branch : trunk
-rw-r--r--src/server/game/DungeonFinding/LFGMgr.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/server/game/DungeonFinding/LFGMgr.cpp b/src/server/game/DungeonFinding/LFGMgr.cpp
index a045dafbcfa..724d8fd7177 100644
--- a/src/server/game/DungeonFinding/LFGMgr.cpp
+++ b/src/server/game/DungeonFinding/LFGMgr.cpp
@@ -590,7 +590,7 @@ void LFGMgr::Join(Player* plr)
else
{
dungeons = plr->GetLfgDungeons();
- if (!dungeons || dungeons->size())
+ if (!dungeons || !dungeons->size())
result = LFG_JOIN_NOT_MEET_REQS;
else // Check if all dungeons are valid
for (LfgDungeonSet::const_iterator it = dungeons->begin(); it != dungeons->end(); ++it)