diff options
author | maximius <none@none> | 2009-08-14 23:38:51 -0700 |
---|---|---|
committer | maximius <none@none> | 2009-08-14 23:38:51 -0700 |
commit | 49990e3fee21f31f6f9afc2cfd674d0ad64fe88a (patch) | |
tree | 7e0da36520febc17c2f28857a57f0e29f940b69c | |
parent | 5983558bcc505b419ed9f1dd38dc699681942caa (diff) |
*Better, but this needs work.
--HG--
branch : trunk
-rw-r--r-- | src/game/Player.cpp | 1 |
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); |