diff options
author | megamage <none@none> | 2008-12-03 13:35:47 -0600 |
---|---|---|
committer | megamage <none@none> | 2008-12-03 13:35:47 -0600 |
commit | 08d259e0cc3ed1c9b7addee6ad3595776a8af1c3 (patch) | |
tree | 7531829af49d768b40ff9f6c5a3b805fd523c1eb /src/game/Spell.cpp | |
parent | 3035a78c3d545bb02131d533b24fee9088f91d57 (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.cpp | 4 |
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();) { |