Init pet talents

This commit is contained in:
Yunfan Li
2023-12-24 00:23:01 +08:00
parent 44a193c720
commit 3b7d9364ef
2 changed files with 2 additions and 1 deletions

View File

@@ -541,6 +541,7 @@ void PlayerbotFactory::InitPetTalents()
// LOG_INFO("playerbots", "{} init pet talents failed with petTalentType < 0({})", bot->GetName().c_str(), pet_family->petTalentType);
return;
}
pet->resetTalents();
std::map<uint32, std::vector<TalentEntry const*> > spells;
for (uint32 i = 0; i < sTalentStore.GetNumRows(); ++i)
{