diff options
author | megamage <none@none> | 2009-05-01 01:33:08 -0500 |
---|---|---|
committer | megamage <none@none> | 2009-05-01 01:33:08 -0500 |
commit | 85fbe3ada2bf9fd08acb97e40e2dddefc6e38e0a (patch) | |
tree | c5177de62d1c860c86d619a8318b77f2d89f5565 /src/game/Player.cpp | |
parent | 8a57a94eca3367dd11afdce7b11d3aba415ae0bf (diff) |
[7740] More correct flags in trainer list data for profession ranks. Author: VladimirMangos
Note: this is not fix problem with gren show recently learned non-first rank of primary profession.
Thanks to Seizerkiller for help in reseach.
--HG--
branch : trunk
Diffstat (limited to 'src/game/Player.cpp')
-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 7cb9e7b607a..a5a33c7d2fd 100644 --- a/src/game/Player.cpp +++ b/src/game/Player.cpp @@ -3785,7 +3785,7 @@ TrainerSpellState Player::GetTrainerSpellState(TrainerSpell const* trainer_spell // check primary prof. limit if(spellmgr.IsPrimaryProfessionFirstRankSpell(spell->Id) && GetFreePrimaryProffesionPoints() == 0) - return TRAINER_SPELL_RED; + return TRAINER_SPELL_GREEN_DISABLED; return TRAINER_SPELL_GREEN; } |