aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/game/Player.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/game/Player.cpp b/src/game/Player.cpp
index 8ce1aca0364..24b7d336d62 100644
--- a/src/game/Player.cpp
+++ b/src/game/Player.cpp
@@ -21819,6 +21819,7 @@ void Player::ActivateSpec(uint8 spec)
SetGlyph(slot, glyph);
}
+ m_usedTalentCount = (uint32)(sizeof(m_talents[spec]) / sizeof(m_talents[spec][0])); // This is not right, not factoring in talent ranks :(
InitTalentForLevel();
QueryResult *result = CharacterDatabase.PQuery("SELECT button,action,type FROM character_action WHERE guid = '%u' AND spec = '%u' ORDER BY button", GetGUIDLow(), m_activeSpec);