aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/game/Player.cpp4
1 files changed, 0 insertions, 4 deletions
diff --git a/src/game/Player.cpp b/src/game/Player.cpp
index 769bbf32b9f..f6b8a3fb3db 100644
--- a/src/game/Player.cpp
+++ b/src/game/Player.cpp
@@ -3805,7 +3805,6 @@ bool Player::resetTalents(bool no_cost)
if (itrFirstId == talentInfo->RankID[rank])
{
itr->second->disabled = false;
- itr->second->state = PLAYERSPELL_NEW;
removeSpell(itr->first, false, false);
itr = GetSpellMap().begin();
continue;
@@ -3813,7 +3812,6 @@ bool Player::resetTalents(bool no_cost)
else if (spellmgr.IsSpellLearnToSpell(talentInfo->RankID[rank], itrFirstId))
{
itr->second->disabled = false;
- itr->second->state = PLAYERSPELL_NEW;
removeSpell(itr->first, false, true);
itr = GetSpellMap().begin();
continue;
@@ -22030,7 +22028,6 @@ void Player::ActivateSpec(uint8 spec)
if (itrFirstId == talentInfo->RankID[rank])
{
itr->second->disabled = false;
- itr->second->state = PLAYERSPELL_NEW;
removeSpell(itr->first, false, false);
itr = GetSpellMap().begin();
continue;
@@ -22038,7 +22035,6 @@ void Player::ActivateSpec(uint8 spec)
else if (spellmgr.IsSpellLearnToSpell(talentInfo->RankID[rank], itrFirstId))
{
itr->second->disabled = false;
- itr->second->state = PLAYERSPELL_NEW;
removeSpell(itr->first, false, true);
itr = GetSpellMap().begin();
continue;