From f9d0c8879cdd04b305b7c4827d73758ad5667931 Mon Sep 17 00:00:00 2001 From: Emagi Date: Sat, 9 Mar 2024 08:01:21 -0500 Subject: [PATCH] additional group member ptr crash fix --- EQ2/source/WorldServer/client.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/EQ2/source/WorldServer/client.cpp b/EQ2/source/WorldServer/client.cpp index 0bc5bc4c2..70b98de77 100755 --- a/EQ2/source/WorldServer/client.cpp +++ b/EQ2/source/WorldServer/client.cpp @@ -4923,7 +4923,7 @@ void Client::HandleVerbRequest(EQApplicationPacket* app) { } if(spawn->IsPlayer() && player->GetGroupMemberInfo() && !player->GetGroupMemberInfo()->mentor_target_char_id) delete_commands.push_back(player->CreateEntityCommand("Mentor", 10000, "mentor", "", 0, 0)); - else if(spawn->IsPlayer() && player->GetGroupMemberInfo()->mentor_target_char_id == ((Player*)spawn)->GetCharacterID()) + else if(spawn->IsPlayer() && player->GetGroupMemberInfo() && player->GetGroupMemberInfo()->mentor_target_char_id == ((Player*)spawn)->GetCharacterID()) delete_commands.push_back(player->CreateEntityCommand("Stop Mentoring", 10000, "unmentor", "", 0, 0)); } else if (!player->GetGroupMemberInfo() || (player->GetGroupMemberInfo()->leader && world.GetGroupManager()->GetGroupSize(player->GetGroupMemberInfo()->group_id) < 6))