*Better, but this needs work.

--HG--
branch : trunk
This commit is contained in:
maximius
2009-08-14 23:38:51 -07:00
parent 5983558bcc
commit 49990e3fee
+1
View File
@@ -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);