mirror of
https://github.com/EQEmu/Server.git
synced 2026-06-10 10:50:24 +00:00
[Bug Fix] Fix for OOZ Group updates when removing/inviting Bots (#3159)
* [Bug Fix] Fix for Cross Zone Group updates with Bots when disbanding/joining groups. * check for nullptr
This commit is contained in:
+2
-2
@@ -4162,7 +4162,7 @@ bool Client::GroupFollow(Client* inviter) {
|
||||
if (iraid == raid) {
|
||||
//both in same raid
|
||||
uint32 ngid = raid->GetGroup(inviter->GetName());
|
||||
if (raid->GroupCount(ngid) < 6) {
|
||||
if (raid->GroupCount(ngid) < MAX_GROUP_MEMBERS) {
|
||||
raid->MoveMember(GetName(), ngid);
|
||||
raid->SendGroupDisband(this);
|
||||
raid->GroupUpdate(ngid);
|
||||
@@ -4183,7 +4183,7 @@ bool Client::GroupFollow(Client* inviter) {
|
||||
if (!GetXTargetAutoMgr()->empty())
|
||||
SetDirtyAutoHaters();
|
||||
|
||||
if (raid->GroupCount(groupToUse) < 6)
|
||||
if (raid->GroupCount(groupToUse) < MAX_GROUP_MEMBERS)
|
||||
{
|
||||
raid->SendRaidCreate(this);
|
||||
raid->SendMakeLeaderPacketTo(raid->leadername, this);
|
||||
|
||||
Reference in New Issue
Block a user