[Hotfix] Fix typo on ZoneDatabase::LoadPetInfo (#3871)

This commit is contained in:
Alex King 2024-01-07 01:43:10 -05:00 committed by GitHub
parent 20778ad7d9
commit 7803170d6b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -3327,7 +3327,7 @@ void ZoneDatabase::LoadPetInfo(Client *client)
continue;
}
strn0cpy(p->Name, e.petname.c_str(), sizeof(c->Name));
strn0cpy(p->Name, e.petname.c_str(), sizeof(p->Name));
p->petpower = e.petpower;
p->SpellID = e.spell_id;