From f3b8c8f5811012a1a1d5312c6c3a782374929080 Mon Sep 17 00:00:00 2001 From: Ono Date: Wed, 2 Nov 2016 17:11:09 +0300 Subject: [PATCH] Fix some active spells learned by talents disappearing from spellbook --- src/game/Player.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/game/Player.cpp b/src/game/Player.cpp index e72dc457169..d34d5cedef4 100644 --- a/src/game/Player.cpp +++ b/src/game/Player.cpp @@ -3392,7 +3392,7 @@ void Player::removeSpell(uint32 spell_id, bool disabled, bool learn_low_rank, bo // Always try to remove all dependent spells if present (needed to reset some talents properly) SpellLearnSpellMapBounds spell_bounds = sSpellMgr.GetSpellLearnSpellMapBounds(spell_id); for (SpellLearnSpellMap::const_iterator child_itr = spell_bounds.first; child_itr != spell_bounds.second; ++child_itr) - removeSpell(child_itr->second.spell, !IsPassiveSpell(child_itr->second.spell), learn_low_rank); + removeSpell(child_itr->second.spell, !IsPassiveSpell(child_itr->second.spell), !IsPassiveSpell(child_itr->second.spell)); // search again just in case itr = m_spells.find(spell_id);