From 49990e3fee21f31f6f9afc2cfd674d0ad64fe88a Mon Sep 17 00:00:00 2001 From: maximius Date: Fri, 14 Aug 2009 23:38:51 -0700 Subject: *Better, but this needs work. --HG-- branch : trunk --- src/game/Player.cpp | 1 + 1 file changed, 1 insertion(+) (limited to 'src') 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); -- cgit v1.2.3