diff options
| author | Spp <none@none> | 2010-10-19 12:39:46 +0200 |
|---|---|---|
| committer | Spp <none@none> | 2010-10-19 12:39:46 +0200 |
| commit | 43220cc1f6c40781cc16f3fc01def7d472a13885 (patch) | |
| tree | 87891662880af959f8384218d07e9d2eae36c76c /src | |
| parent | 131fb1580bb16fb78c557195943743a02c466617 (diff) | |
Core/Groups: Correct check for isFull(). LFG groups were able to invite more than 5 players
--HG--
branch : trunk
Diffstat (limited to 'src')
| -rwxr-xr-x | src/server/game/Groups/Group.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/server/game/Groups/Group.h b/src/server/game/Groups/Group.h index a8d0e2a3677..28ac362b4da 100755 --- a/src/server/game/Groups/Group.h +++ b/src/server/game/Groups/Group.h @@ -233,7 +233,7 @@ class Group } // properties accessories - bool IsFull() const { return (m_groupType == GROUPTYPE_NORMAL) ? (m_memberSlots.size() >= MAXGROUPSIZE) : (m_memberSlots.size() >= MAXRAIDSIZE); } + bool IsFull() const { return isRaidGroup() ? (m_memberSlots.size() >= MAXRAIDSIZE) : (m_memberSlots.size() >= MAXGROUPSIZE); } bool isLFGGroup() const { return m_groupType & GROUPTYPE_LFG; } bool isRaidGroup() const { return m_groupType & GROUPTYPE_RAID; } bool isBGGroup() const { return m_bgGroup != NULL; } |
