Core/Pet: Fix typo

Fix typo in Pet::resetTalentsForAllPetsOf() that would cause not to reset talent spells of any pet
This commit is contained in:
jackpoz
2022-02-26 10:30:56 +01:00
parent d0a703d1b9
commit 5518bfaa2a

View File

@@ -1749,7 +1749,7 @@ void Pet::resetTalentsForAllPetsOf(Player* owner, Pet* onlinePet /*= nullptr*/)
petIds.erase(onlinePet->GetCharmInfo()->GetPetNumber());
// no offline pets
if (!petIds.empty())
if (petIds.empty())
return;
bool need_comma = false;