[svn] Fix a typo that makes pet cannot autocast. Thank Elron for pointing out the mistake.
--HG-- branch : trunk
This commit is contained in:
+1
-1
@@ -1660,7 +1660,7 @@ void Pet::ToggleAutocast(uint32 spellid, bool apply)
|
|||||||
|
|
||||||
if(const SpellEntry *tempSpell = GetSpellStore()->LookupEntry(spellid))
|
if(const SpellEntry *tempSpell = GetSpellStore()->LookupEntry(spellid))
|
||||||
if(tempSpell->EffectImplicitTargetA[0] != TARGET_ALL_AROUND_CASTER
|
if(tempSpell->EffectImplicitTargetA[0] != TARGET_ALL_AROUND_CASTER
|
||||||
|| tempSpell->EffectImplicitTargetA[0] != TARGET_CHAIN_DAMAGE)
|
&& tempSpell->EffectImplicitTargetA[0] != TARGET_CHAIN_DAMAGE)
|
||||||
return;
|
return;
|
||||||
|
|
||||||
PetSpellMap::const_iterator itr = m_spells.find((uint16)spellid);
|
PetSpellMap::const_iterator itr = m_spells.find((uint16)spellid);
|
||||||
|
|||||||
Reference in New Issue
Block a user