diff --git a/src/game/Player.cpp b/src/game/Player.cpp index 493d28f936b..9d40322c4b4 100644 --- a/src/game/Player.cpp +++ b/src/game/Player.cpp @@ -21565,9 +21565,11 @@ void Player::ActivateSpec(uint8 specNum) // remove any talent rank if talent not listed in temp spec if (iterTempSpec == tempSpec.end() || iterTempSpec->second.state == PLAYERSPELL_REMOVED) { + TalentEntry const *talentInfo = talent.m_talentEntry; + for(int r = 0; r < MAX_TALENT_RANK; ++r) - if (talent.m_talentEntry->RankID[r]) - removeSpell(talent.m_talentEntry->RankID[r],!IsPassiveSpell(talent.m_talentEntry->RankID[r]),false); + if (talentInfo->RankID[r]) + removeSpell(talentInfo->RankID[r],!IsPassiveSpell(talentInfo->RankID[r]),false); specIter = m_talents[m_activeSpec].begin(); } diff --git a/src/shared/revision_nr.h b/src/shared/revision_nr.h index abd76fa8f18..f8a590bcd87 100644 --- a/src/shared/revision_nr.h +++ b/src/shared/revision_nr.h @@ -1,4 +1,4 @@ #ifndef __REVISION_NR_H__ #define __REVISION_NR_H__ - #define REVISION_NR "9673" + #define REVISION_NR "9674" #endif // __REVISION_NR_H__