mirror of
https://github.com/EQEmu/Server.git
synced 2026-04-25 18:42:27 +00:00
Merge e0b05e573e52659d70b500e09b9c4cfa5e6de532 into e2b9efaf4981ef5595ba0135e6f4fbf911691e1c
This commit is contained in:
commit
9dde9c8184
@ -6689,7 +6689,6 @@ void Client::Handle_OP_GroupDisband(const EQApplicationPacket *app)
|
||||
}
|
||||
}
|
||||
else if(memberToDisband->IsMerc()) {
|
||||
Merc::RemoveMercFromGroup(memberToDisband->CastToMerc(), group);
|
||||
memberToDisband->CastToMerc()->Suspend();
|
||||
}
|
||||
}
|
||||
|
||||
@ -191,8 +191,6 @@ bool Client::Process() {
|
||||
if (GetMerc())
|
||||
{
|
||||
GetMerc()->Save();
|
||||
if(GetMerc()->GetGroup() != NULL)
|
||||
Merc::RemoveMercFromGroup(GetMerc(), GetMerc()->GetGroup());
|
||||
GetMerc()->Depop();
|
||||
}
|
||||
LeaveGroup();
|
||||
@ -210,8 +208,6 @@ bool Client::Process() {
|
||||
if (GetMerc())
|
||||
{
|
||||
GetMerc()->Save();
|
||||
if(GetMerc()->GetGroup() != NULL)
|
||||
GetMerc()->RemoveMercFromGroup(GetMerc(), GetMerc()->GetGroup());
|
||||
GetMerc()->Depop();
|
||||
}
|
||||
instalog = true;
|
||||
@ -680,8 +676,6 @@ bool Client::Process() {
|
||||
if (GetMerc())
|
||||
{
|
||||
GetMerc()->Save();
|
||||
if(GetMerc()->GetGroup() != NULL)
|
||||
GetMerc()->RemoveMercFromGroup(GetMerc(), GetMerc()->GetGroup());
|
||||
GetMerc()->Depop();
|
||||
}
|
||||
return false;
|
||||
@ -730,8 +724,6 @@ bool Client::Process() {
|
||||
}
|
||||
if (GetMerc())
|
||||
{
|
||||
if(GetMerc()->GetGroup() != NULL)
|
||||
Merc::RemoveMercFromGroup(GetMerc(), GetMerc()->GetGroup());
|
||||
GetMerc()->Depop();
|
||||
}
|
||||
adverrorinfo = 811;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user