diff options
author | maximius <none@none> | 2009-11-21 05:43:14 -0800 |
---|---|---|
committer | maximius <none@none> | 2009-11-21 05:43:14 -0800 |
commit | 51a2284f693060ff8b0b53256a1f0f71735448dd (patch) | |
tree | 446412cb82c33d4b6eb46754e9b4d6f803f1ea00 /src/game/Player.cpp | |
parent | 2e256f44db88a2f1dde6eada21eed8aa89ebb13b (diff) |
*Don't set PLAYERSPELL_NEW. That will prevent the spell from being removed from the character DB, which is bad.
--HG--
branch : trunk
Diffstat (limited to 'src/game/Player.cpp')
-rw-r--r-- | src/game/Player.cpp | 4 |
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; |