mirror of
https://github.com/mangosfour/server.git
synced 2025-12-15 10:37:02 +00:00
[9657] Not include in .list talents disabled spells
Also some more cleanups in free talent points update calls.
This commit is contained in:
parent
034da8f6d4
commit
973a21060b
4 changed files with 7 additions and 11 deletions
|
|
@ -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)
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue