Test code for tracing zone crashes (stage 2)

This commit is contained in:
Uleat
2018-03-19 20:58:13 -04:00
parent d58e88a2f7
commit 70922975cf
2 changed files with 21 additions and 6 deletions
+1 -6
View File
@@ -6728,12 +6728,7 @@ void Client::Handle_OP_GroupFollow2(const EQApplicationPacket *app)
// Inviter and Invitee are in the same zone
if (inviter != nullptr && inviter->IsClient())
{
if (!inviter->CastToClient()->Connected())
{
Log(Logs::General, Logs::Error, "%s attempted to join group while leader %s was zoning.", GetName(), inviter->GetName());
Message(13, "Bubba said you can't follow him.");
}
else if (GroupFollow(inviter->CastToClient()))
if (GroupFollow(inviter->CastToClient()))
{
strn0cpy(gf->name1, inviter->GetName(), sizeof(gf->name1));
strn0cpy(gf->name2, GetName(), sizeof(gf->name2));