diff options
| author | maximius <none@none> | 2009-08-30 22:49:01 -0700 |
|---|---|---|
| committer | maximius <none@none> | 2009-08-30 22:49:01 -0700 |
| commit | d9656fbabdbb519e4e042d78ddafdfd2ab7bd8e2 (patch) | |
| tree | 132146db35eb19ca991595f8301defae8d5c3aa1 /src | |
| parent | 7847025bdfd23ed52cca575d56b4aebed89e37eb (diff) | |
*Attempt to fix "can't learn any talents" bug
--HG--
branch : trunk
Diffstat (limited to 'src')
| -rw-r--r-- | src/game/Player.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/game/Player.cpp b/src/game/Player.cpp index 577887b18e3..23748d7bd2d 100644 --- a/src/game/Player.cpp +++ b/src/game/Player.cpp @@ -21128,8 +21128,8 @@ void Player::LearnTalent(uint32 talentId, uint32 talentRank) return; // find current max talent rank (1~5) - uint8 curtalent_maxrank = 1; - for(uint8 rank = MAX_TALENT_RANK-1; rank > 0; --rank) + uint8 curtalent_maxrank = 0; // Maybe start at 6 and have rank start at MAX_TALENT_RANK-2? Not sure + for(uint8 rank = MAX_TALENT_RANK-1; rank >= 0; --rank) { if(talentInfo->RankID[rank] && HasSpell(talentInfo->RankID[rank])) { |
