aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSpp <spp@jorge.gr>2010-06-04 13:51:39 +0200
committerSpp <spp@jorge.gr>2010-06-04 13:51:39 +0200
commita388b76a8c261f08477ae624b044978fe05bb642 (patch)
treeed8b54898589a84a22c061f3d57c9e569c3c3251
parent724954af4bcd0f9eae6fa1d3ce89f72718dbb466 (diff)
Dungeon Finder: Add LFG_JOIN_MIXED_RAID_DUNGEON restriction to Join Queue
Patch by Tali --HG-- branch : trunk
-rw-r--r--src/game/LFGMgr.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/game/LFGMgr.cpp b/src/game/LFGMgr.cpp
index 7386b3cc870..d06e82505c9 100644
--- a/src/game/LFGMgr.cpp
+++ b/src/game/LFGMgr.cpp
@@ -275,6 +275,8 @@ void LFGMgr::Join(Player *plr)
{
if (grp->GetMembersCount() > MAXGROUPSIZE)
result = LFG_JOIN_TOO_MUCH_MEMBERS;
+ else if(grp->isRaidGroup())
+ result = LFG_JOIN_MIXED_RAID_DUNGEON;
else
{
for (GroupReference *itr = grp->GetFirstMember(); itr != NULL && result == LFG_JOIN_OK; itr = itr->next())