* Fix typo

--HG--
branch : trunk
This commit is contained in:
Machiavelli
2009-06-18 19:04:17 +02:00
parent 22092752eb
commit eaad0ed0c8

View File

@@ -20520,7 +20520,7 @@ void Player::LearnTalent(uint32 talentId, uint32 talentRank)
// find current max talent rank
int32 curtalent_maxrank = 0;
for(uint8 k = MAX_TALENT_RANK-1; k > -1; --k)
for(int8 k = MAX_TALENT_RANK-1; k > -1; --k)
{
if(talentInfo->RankID[k] && HasSpell(talentInfo->RankID[k]))
{