Jump to content

[fix][6393] Bg Don't Disband Raidgroup


Guest balrok
 Share

Recommended Posts

* What bug does the patch fix? What features does the patch add?

without this patch, the raidgroup in bg gets disbanded when only one player is inside..

the battleground raidgroup should always exists when at least one player is inside

* For which SubVersion revision was the patch created?

6186

* Is there a thread in the bug report section? If yes, please add a link to the thread.

i don't found any

* Who has been writing this patch? Please include either forum user names or email addresses.

balrok

Index: Group.cpp
===================================================================
--- Group.cpp     (revision 6186)
+++ Group.cpp     (working copy)
@@ -207,7 +207,7 @@
uint32 Group::RemoveMember(const uint64 &guid, const uint8 &method)
{
        // remove member and change leader (if need) only if strong more 2 members _before_ member remove
-        if(GetMembersCount() > 2)
+        if(GetMembersCount() > ((isBGGroup())?1:2))
        {
                bool leaderChanged = _removeMember(guid);

Link to comment
Share on other sites

  • 2 weeks later...
 Share

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue. Privacy Policy Terms of Use