[9657] Not include in .list talents disabled spells

Also some more cleanups in free talent points update calls.
This commit is contained in:
VladimirMangos 2010-04-02 18:29:03 +04:00
parent 034da8f6d4
commit 973a21060b
4 changed files with 7 additions and 11 deletions

View file

@ -1562,7 +1562,7 @@ bool Pet::resetTalents(bool no_cost)
if (m_usedTalentCount == 0)
{
SetFreeTalentPoints(talentPointsForLevel);
UpdateFreeTalentPoints(false); // for fix if need counter
return false;
}
@ -1619,7 +1619,7 @@ bool Pet::resetTalents(bool no_cost)
}
}
SetFreeTalentPoints(talentPointsForLevel);
UpdateFreeTalentPoints(false);
if(!no_cost)
{