diff options
author | Spp <spp@jorge.gr> | 2010-06-04 13:51:39 +0200 |
---|---|---|
committer | Spp <spp@jorge.gr> | 2010-06-04 13:51:39 +0200 |
commit | a388b76a8c261f08477ae624b044978fe05bb642 (patch) | |
tree | ed8b54898589a84a22c061f3d57c9e569c3c3251 | |
parent | 724954af4bcd0f9eae6fa1d3ce89f72718dbb466 (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.cpp | 2 |
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()) |