aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormegamage <none@none>2008-11-12 10:01:57 -0600
committermegamage <none@none>2008-11-12 10:01:57 -0600
commit953aa51ea912e5628d0839830685ae9fb1507194 (patch)
tree06d323174252cada8b3ddc28f6cae1bc0b56e31f
parent62e294937048d8843be9266c3c59f4062174a62c (diff)
[svn] Fix a typo that makes pet cannot autocast. Thank Elron for pointing out the mistake.
--HG-- branch : trunk
-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);