Send the right person's name

This commit is contained in:
Michael Cook (mackal) 2014-09-30 19:20:38 -04:00
parent cb49bae53c
commit 7326a3ea7a

View File

@ -10693,7 +10693,7 @@ void Client::Handle_OP_RaidCommand(const EQApplicationPacket *app)
Client *i = entity_list.GetClientByName(ri->player_name); Client *i = entity_list.GetClientByName(ri->player_name);
if (i){ if (i){
if (IsRaidGrouped()){ if (IsRaidGrouped()){
i->Message_StringID(0, ALREADY_IN_RAID, ri->player_name); //group failed, must invite members not in raid... i->Message_StringID(0, ALREADY_IN_RAID, GetName()); //group failed, must invite members not in raid...
return; return;
} }
Raid *r = entity_list.GetRaidByClient(i); Raid *r = entity_list.GetRaidByClient(i);