diff options
-rw-r--r-- | src/game/Player.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/game/Player.cpp b/src/game/Player.cpp index e1cc14ac319..b0aed8a2792 100644 --- a/src/game/Player.cpp +++ b/src/game/Player.cpp @@ -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])) { |