aboutsummaryrefslogtreecommitdiff
path: root/src/game/Spell.cpp
diff options
context:
space:
mode:
authorQAston <none@none>2009-04-20 23:37:47 +0200
committerQAston <none@none>2009-04-20 23:37:47 +0200
commit68b02ae2278461d3b89d997ae780ee10767b2254 (patch)
tree04231607996657711daa2ba2d019bb7b976e52da /src/game/Spell.cpp
parent7139aa19d825928fc44e093ff662d1ccb520ec22 (diff)
*Fix bug that pets learn talents instantly - clear your pet_spell table to have changes applied.
--HG-- branch : trunk
Diffstat (limited to 'src/game/Spell.cpp')
-rw-r--r--src/game/Spell.cpp2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/game/Spell.cpp b/src/game/Spell.cpp
index 8ba4df32e79..576c15643c0 100644
--- a/src/game/Spell.cpp
+++ b/src/game/Spell.cpp
@@ -2627,7 +2627,6 @@ void Spell::update(uint32 difftime)
// check if there are alive targets left
if (!UpdateChanneledTargetList())
{
- sLog.outError("Spell cancel");
SendChannelUpdate(0);
finish();
}
@@ -2698,7 +2697,6 @@ void Spell::finish(bool ok)
// Unsummon summon as possessed creatures on spell cancel
if(IsChanneledSpell(m_spellInfo)
- && m_caster->m_currentSpells[CURRENT_CHANNELED_SPELL] == this
&& m_caster->GetTypeId() == TYPEID_PLAYER)
{
if (Unit * charm = m_caster->GetCharm())