mirror of
https://github.com/EQEmu/Server.git
synced 2026-05-16 22:58:34 +00:00
Test code for tracing zone crashes (stage 2)
This commit is contained in:
@@ -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));
|
||||
|
||||
Reference in New Issue
Block a user