*Fix bug that pets learn talents instantly - clear your pet_spell table to have changes applied.

--HG--
branch : trunk
This commit is contained in:
QAston committed 2009-04-20 23:37:47 +02:00
1 parent 7139aa19d8
commit 68b02ae227
2 files changed
+2 -3

No files matched your search

-2
View File
@@ -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())