aboutsummaryrefslogtreecommitdiff
path: root/src/game/Spell.cpp
diff options
context:
space:
mode:
authormegamage <none@none>2008-12-03 13:35:47 -0600
committermegamage <none@none>2008-12-03 13:35:47 -0600
commit08d259e0cc3ed1c9b7addee6ad3595776a8af1c3 (patch)
tree7531829af49d768b40ff9f6c5a3b805fd523c1eb /src/game/Spell.cpp
parent3035a78c3d545bb02131d533b24fee9088f91d57 (diff)
*Let owner enter pvp when pet attacks pvp target.
--HG-- branch : trunk
Diffstat (limited to 'src/game/Spell.cpp')
-rw-r--r--src/game/Spell.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/game/Spell.cpp b/src/game/Spell.cpp
index c1c00944b99..07905bb1c37 100644
--- a/src/game/Spell.cpp
+++ b/src/game/Spell.cpp
@@ -647,7 +647,7 @@ void Spell::FillTargetMap()
if(IsChanneledSpell(m_spellInfo) && !tmpUnitMap.empty())
m_needAliveTargetMask |= (1<<i);
- if(m_caster->GetTypeId() == TYPEID_PLAYER)
+ /*if(m_caster->GetTypeId() == TYPEID_PLAYER)
{
Player *me = (Player*)m_caster;
for (std::list<Unit*>::const_iterator itr = tmpUnitMap.begin(); itr != tmpUnitMap.end(); itr++)
@@ -661,7 +661,7 @@ void Spell::FillTargetMap()
break;
}
}
- }
+ }*/
for (std::list<Unit*>::iterator itr = tmpUnitMap.begin() ; itr != tmpUnitMap.end();)
{