aboutsummaryrefslogtreecommitdiff
path: root/src/game/Pet.cpp
diff options
context:
space:
mode:
authormegamage <none@none>2009-05-02 11:28:11 -0500
committermegamage <none@none>2009-05-02 11:28:11 -0500
commitf303ee08c5888170ad1509b89413af1e2a321f5c (patch)
treee3494740526e056204d2c5c4f9d6f0c0444603e1 /src/game/Pet.cpp
parenta102098eb2f76ab1e49497c5ebbb8e6359c8b964 (diff)
*Update spell selection.
--HG-- branch : trunk
Diffstat (limited to 'src/game/Pet.cpp')
-rw-r--r--src/game/Pet.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/game/Pet.cpp b/src/game/Pet.cpp
index 6b5ff6c1543..75664032ce3 100644
--- a/src/game/Pet.cpp
+++ b/src/game/Pet.cpp
@@ -1721,8 +1721,8 @@ void Pet::ToggleAutocast(uint32 spellid, bool apply)
return;
//if(const SpellEntry *tempSpell = GetSpellStore()->LookupEntry(spellid))
- // if(tempSpell->EffectImplicitTargetA[0] != TARGET_ALL_AROUND_CASTER
- // && tempSpell->EffectImplicitTargetA[0] != TARGET_CHAIN_DAMAGE)
+ // if(tempSpell->EffectImplicitTargetA[0] != TARGET_SRC_CASTER
+ // && tempSpell->EffectImplicitTargetA[0] != TARGET_UNIT_TARGET_ENEMY)
// return;
PetSpellMap::const_iterator itr = m_spells.find((uint16)spellid);