mirror of
https://github.com/EQEmu/Server.git
synced 2025-12-12 01:11:29 +00:00
Fix copy and paste error
This commit is contained in:
parent
e5f5db69b4
commit
29cdca380f
@ -2271,7 +2271,7 @@ void NPC::PetOnSpawn(NewSpawn_Struct* ns)
|
||||
if(client)
|
||||
{
|
||||
SetPetOwnerClient(true);
|
||||
std::string tmp_lastname = swarmOwner->GetName();
|
||||
std::string tmp_lastname = client->GetName();
|
||||
tmp_lastname += "'s Pet";
|
||||
if (tmp_lastname.size() < sizeof(ns->spawn.lastName))
|
||||
strn0cpy(ns->spawn.lastName, tmp_lastname.c_str(), sizeof(ns->spawn.lastName));
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user