aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/game/Pet.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/game/Pet.cpp b/src/game/Pet.cpp
index b66579895fb..9bf67fae2c1 100644
--- a/src/game/Pet.cpp
+++ b/src/game/Pet.cpp
@@ -1660,7 +1660,7 @@ void Pet::ToggleAutocast(uint32 spellid, bool apply)
if(const SpellEntry *tempSpell = GetSpellStore()->LookupEntry(spellid))
if(tempSpell->EffectImplicitTargetA[0] != TARGET_ALL_AROUND_CASTER
- || tempSpell->EffectImplicitTargetA[0] != TARGET_CHAIN_DAMAGE)
+ && tempSpell->EffectImplicitTargetA[0] != TARGET_CHAIN_DAMAGE)
return;
PetSpellMap::const_iterator itr = m_spells.find((uint16)spellid);